AuboCaps  0.6.0
else_if_node.h
Go to the documentation of this file.
1 #ifndef AUBO_SCOPE_ELSE_IF_NODE_H
2 #define AUBO_SCOPE_ELSE_IF_NODE_H
3 
6 
7 namespace arcs {
8 namespace aubo_scope {
9 ARCS_CLASS_FORWARD(ElseIfNode);
10 
12 {
13 public:
16  virtual ~ElseIfNode();
17 
18  /**
19  * @param expression The expression that will be evaluated in this
20  * ElseIfNode.
21  * @return The same ElseIfNode.
22  */
23  void setExpression(ExpressionPtr expression);
24 
25  /**
26  * @return the Expression to be evaluated in this ElseIf node.
27  */
28  ExpressionPtr getExpression();
29 
30 private:
31  friend class DataSwitch;
32  ElseIfNode();
33  void *d_{ nullptr };
34 };
35 
36 } // namespace aubo_scope
37 } // namespace arcs
38 #endif // AUBO_SCOPE_ELSE_IF_NODE_H
ARCS_CLASS_FORWARD(GripForceCapability)
#define ARCS_ABI_EXPORT
Definition: class_forward.h:16