AuboStudio SDK 0.6.3

comment_node.h
浏览该文件的文档.
1 #ifndef AUBO_SCOPE_COMMENT_NODE_H
2 #define AUBO_SCOPE_COMMENT_NODE_H
3
4 #include <string>
5 #include <aubo_caps/domain/program/nodes/program_node.h>
6
7 namespace arcs {
8 namespace aubo_scope {
9 ARCS_CLASS_FORWARD(CommentNode);
10
11 class ARCS_ABI_EXPORT CommentNode : public ProgramNode
12 {
13 public:
14 CommentNode(CommentNode &f);
15 CommentNode(CommentNode &&f);
16 virtual ~CommentNode();
17
18 /**
19 *
20 * @return The text of the Comment node.
21 */
22 std::string getComment() const;
23
24 /**
25 * * Set the text for the Comment node.
26 * @param comment The Comment for the node.
27 * @return This node.
28 */
29 void setComment(const std::string &param_string);
30
31 private:
32 friend class DataSwitch;
33 CommentNode();
34 void *d_{ nullptr };
35 };
36
37 } // namespace aubo_scope
38 } // namespace arcs
39 #endif // AUBO_SCOPE_COMMENT_NODE_H
ARCS_ABI_EXPORT
#define ARCS_ABI_EXPORT
Definition: class_forward.h:16
arcs::aubo_scope::CommentNode
Definition: comment_node.h:12
arcs::aubo_scope::CommentNode::CommentNode
CommentNode(CommentNode &f)
arcs::aubo_scope::CommentNode::CommentNode
CommentNode(CommentNode &&f)
arcs::aubo_scope::CommentNode::~CommentNode
virtual ~CommentNode()
arcs::aubo_scope::CommentNode::getComment
std::string getComment() const
arcs::aubo_scope::CommentNode::CommentNode
CommentNode()
arcs::aubo_scope::CommentNode::setComment
void setComment(const std::string &param_string)
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