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
Definition: class_forward.h:16
arcs::aubo_scope::ForceNode
Definition: force_node.h:12
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::~ForceNode
virtual ~ForceNode()
arcs::aubo_scope::ForceNode::ConfigType
ConfigType
The configuration type used to determine which type of configuration this instance is.
Definition: force_node.h:19
arcs::aubo_scope::ForceNode::SIMPLE
@ SIMPLE
Definition: force_node.h:29
arcs::aubo_scope::ForceNode::FRAME
@ FRAME
Definition: force_node.h:38
arcs::aubo_scope::ForceNode::POINT
@ POINT
Definition: force_node.h:48
arcs::aubo_scope::ProgramNode
Definition: program_node.h:19
arcs::aubo_scope::ARCS_CLASS_FORWARD
ARCS_CLASS_FORWARD(GripForceCapability)
arcs
Definition: contribution_provider.h:7
program_node.h