PDF
简体中文
简体中文
English
AuboStudio SDK
0.6.3
tcp.h
浏览该文件的文档.
1
#ifndef AUBO_SCOPE_TCP_H
2
#define AUBO_SCOPE_TCP_H
3
4
#include <string>
5
#include <vector>
6
#include <
aubo_caps/class_forward.h
>
7
8
namespace
arcs
{
9
namespace
aubo_scope
{
10
ARCS_CLASS_FORWARD
(
TCP
);
11
12
/**
13
* @ingroup InstallationApi
14
* \chinese
15
* TCP 接口
16
* 此接口表示 AuboScope 中的一个 TCP(工具中心点)。可以是用户定义的 TCP,也可以
17
* 是由 AuboCap 添加的 TCP。
18
* \endchinese
19
* \english
20
* TCP
21
* This interface represents a TCP in AuboScope. This can either be a
22
* user-defined TCP or a TCP added by a AuboCap.
23
* \endenglish
24
*/
25
class
ARCS_ABI_EXPORT
TCP
26
{
27
public
:
28
TCP
(
TCP
&f);
29
TCP
(
TCP
&&f);
30
~TCP
();
31
32
/**
33
* @ingroup TCP
34
* \chinese
35
* 获取TCP相对于工具输出法兰的偏移量
36
* @return TCP偏移量。
37
* \endchinese
38
* \english
39
* Returns the offset of the TCP with respect to the tool output flange.
40
* @return The offset of the TCP.
41
* \endenglish
42
*/
43
std::vector<double>
getOffset
();
44
45
/**
46
* @ingroup TCP
47
* \chinese
48
* 获取TCP显示名称。注意:TCP可随时被重命名。
49
* @return TCP名称。
50
* \endchinese
51
* \english
52
* Note: The TCP can be renamed at any time.
53
* @return The name of the TCP.
54
* \endenglish
55
*/
56
std::string
getDisplayName
();
57
58
/**
59
* @ingroup TCP
60
* \chinese
61
* TCP无法保证始终存在。终端用户可加载不包含该TCP的其他安装,或该TCP可被终端用户
62
* 或添加该TCP的AuboCap删除。此方法用于判断TCP是否存在。
63
* @return 如果TCP存在返回<code>true</code>,否则返回<code>false</code>。
64
* \endchinese
65
* \english
66
* A TCP cannot be guaranteed to be present in AuboScope. The end user can
67
* load a different installation (not containing the TCP) or the TCP was
68
* removed by the end user or the AuboCap that added the tcp. This method
69
* can be used to determine, if the TCP is present.
70
*
71
* @return <code>true</code> if this TCP is present in AuboScope, otherwise
72
* <code>false</code>.
73
* \endenglish
74
*/
75
bool
isResolvable
();
76
77
/**
78
* @ingroup TCP
79
* \chinese
80
* 获取哈希码
81
* @return 哈希码。
82
* \endchinese
83
* \english
84
* Returns the hash code.
85
* @return the hash code.
86
* \endenglish
87
*/
88
size_t
hashCode
();
89
90
private
:
91
friend
class
DataSwitch
;
92
TCP
();
93
void
*
d_
{
nullptr
};
94
};
95
96
}
// namespace aubo_scope
97
}
// namespace arcs
98
99
#endif
// AUBO_SCOPE_TCP_H
class_forward.h
ARCS_ABI_EXPORT
#define ARCS_ABI_EXPORT
定义
class_forward.h:16
ARCS_CLASS_FORWARD
#define ARCS_CLASS_FORWARD(C)
Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR...
定义
class_forward.h:68
arcs::aubo_scope::TCP
TCP 接口 此接口表示 AuboScope 中的一个 TCP(工具中心点)。可以是用户定义的 TCP,也可以 是由 AuboCap 添加的 TCP。
定义
tcp.h:26
arcs::aubo_scope::TCP::d_
void * d_
定义
tcp.h:93
arcs::aubo_scope::TCP::isResolvable
bool isResolvable()
TCP无法保证始终存在。终端用户可加载不包含该TCP的其他安装,或该TCP可被终端用户 或添加该TCP的AuboCap删除。此方法用于判断TCP是否存在。
arcs::aubo_scope::TCP::getDisplayName
std::string getDisplayName()
获取TCP显示名称。注意:TCP可随时被重命名。
arcs::aubo_scope::TCP::getOffset
std::vector< double > getOffset()
获取TCP相对于工具输出法兰的偏移量
arcs::aubo_scope::TCP::DataSwitch
friend class DataSwitch
定义
tcp.h:91
arcs::aubo_scope::TCP::hashCode
size_t hashCode()
获取哈希码
arcs::aubo_scope::TCP::TCP
TCP()
arcs::aubo_scope::TCP::TCP
TCP(TCP &&f)
arcs::aubo_scope::TCP::~TCP
~TCP()
arcs::aubo_scope::TCP::TCP
TCP(TCP &f)
arcs::aubo_scope
定义
contribution_provider.h:8
arcs
定义
contribution_provider.h:7
include
aubo_caps
domain
tcp
tcp.h
制作者
1.16.1