AuboStudio SDK
0.6.3
force_node.h
浏览该文件的文档.
1
#ifndef AUBO_SCOPE_FORCE_NODE_H
2
#define AUBO_SCOPE_FORCE_NODE_H
3
4
#include <vector>
5
#include <
aubo_caps/domain/program/nodes/program_node.h
>
6
7
namespace
arcs
{
8
namespace
aubo_scope
{
9
ARCS_CLASS_FORWARD
(
ForceNode
);
10
11
class
ARCS_ABI_EXPORT
ForceNode
:
public
ProgramNode
12
{
13
public
:
14
/**
15
* The configuration type used to determine which type of configuration this
16
* instance is.
17
*/
18
enum
ConfigType
19
{
20
21
/**
22
* <p>
23
* Simple type is selected. This type has no further information.
24
* </p>
25
*
26
* Setting this type of config will be ignored and will have no effect
27
* on the node.
28
*/
29
SIMPLE
,
30
31
/**
32
* <p>
33
* Frame type is selected.
34
* </p>
35
*
36
* The config instance can be cast to {@link FrameForceNodeConfig}.
37
*/
38
FRAME
,
39
40
/**
41
* <p>
42
* Point type is selected. This type has no further information.
43
* </p>
44
*
45
* Setting this type of config will be ignored and will have no effect
46
* on the node.
47
*/
48
POINT
,
49
50
/**
51
* <p>
52
* Motion type is selected. This type has no further information.
53
* </p>
54
*
55
* Setting this type of config will be ignored and will have no effect
56
* on the node.
57
*/
58
MOTION
59
};
60
61
ForceNode
(
ForceNode
&f);
62
ForceNode
(
ForceNode
&&f);
63
virtual
~ForceNode
();
64
65
private
:
66
friend
class
DataSwitch
;
67
ForceNode
();
68
void
*
d_
{
nullptr
};
69
};
70
71
}
// namespace aubo_scope
72
}
// namespace arcs
73
#endif
// AUBO_SCOPE_FORCE_NODE_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::ForceNode
定义
force_node.h:12
arcs::aubo_scope::ForceNode::d_
void * d_
定义
force_node.h:68
arcs::aubo_scope::ForceNode::ForceNode
ForceNode(ForceNode &&f)
arcs::aubo_scope::ForceNode::ForceNode
ForceNode()
arcs::aubo_scope::ForceNode::ForceNode
ForceNode(ForceNode &f)
arcs::aubo_scope::ForceNode::DataSwitch
friend class DataSwitch
定义
force_node.h:66
arcs::aubo_scope::ForceNode::~ForceNode
virtual ~ForceNode()
arcs::aubo_scope::ForceNode::ConfigType
ConfigType
The configuration type used to determine which type of configuration this instance is.
定义
force_node.h:19
arcs::aubo_scope::ForceNode::SIMPLE
@ SIMPLE
定义
force_node.h:29
arcs::aubo_scope::ForceNode::FRAME
@ FRAME
定义
force_node.h:38
arcs::aubo_scope::ForceNode::POINT
@ POINT
定义
force_node.h:48
arcs::aubo_scope::ForceNode::MOTION
@ MOTION
定义
force_node.h:58
arcs::aubo_scope::ProgramNode::ProgramNode
ProgramNode(ProgramNode &f)
arcs::aubo_scope
定义
contribution_provider.h:8
arcs
定义
contribution_provider.h:7
program_node.h
include
aubo_caps
domain
program
nodes
builtin
force_node.h
制作者
1.16.1