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
* This interface represents a TCP in AuboScope. This can either be a
15
* user-defined TCP or a TCP added by a AuboCap.
16
*/
17
class
ARCS_ABI_EXPORT
TCP
18
{
19
public
:
20
TCP
(
TCP
&f);
21
TCP
(
TCP
&&f);
22
~TCP
();
23
24
/**
25
* @ingroup TCP
26
* @return The offset of the TCP with respect to the tool output flange, if
27
* the TCP is resolvable, otherwise null.
28
*/
29
std::vector<double>
getOffset
();
30
31
/**
32
* @ingroup TCP
33
* Note: The TCP can be renamed at any time
34
*
35
* @return The name of the TCP
36
*/
37
std::string
getDisplayName
();
38
39
/**
40
* @ingroup TCP
41
* A TCP cannot be guaranteed to be present in AuboScope. The end user can
42
* load a different installation (not containing the TCP) or the TCP was
43
* removed by the end user or the AuboCap that added the tcp/ This method
44
* can be used to determine, if the TCP is present.
45
*
46
* @return <code>true</code> if this TCP is present in AuboScope, otherwise
47
* <code>false</code>.
48
*/
49
bool
isResolvable
();
50
51
/**
52
* @ingroup TCP
53
* @brief hashCode
54
* @return
55
*/
56
size_t
hashCode
();
57
58
private
:
59
friend
class
DataSwitch
;
60
TCP
();
61
void
*
d_
{
nullptr
};
62
};
63
64
}
// namespace aubo_scope
65
}
// namespace arcs
66
67
#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
This interface represents a TCP in AuboScope.
定义
tcp.h:18
arcs::aubo_scope::TCP::d_
void * d_
定义
tcp.h:61
arcs::aubo_scope::TCP::isResolvable
bool isResolvable()
A TCP cannot be guaranteed to be present in AuboScope.
arcs::aubo_scope::TCP::getDisplayName
std::string getDisplayName()
Note: The TCP can be renamed at any time
arcs::aubo_scope::TCP::getOffset
std::vector< double > getOffset()
arcs::aubo_scope::TCP::DataSwitch
friend class DataSwitch
定义
tcp.h:59
arcs::aubo_scope::TCP::hashCode
size_t hashCode()
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