AuboCaps
0.6.0
Main Page
Namespaces
Classes
Files
File List
File Members
include
aubo_caps
domain
program
nodes
builtin
if_node.h
Go to the documentation of this file.
1
#ifndef AUBO_SCOPE_IF_NODE_H
2
#define AUBO_SCOPE_IF_NODE_H
3
4
#include <
aubo_caps/domain/program/nodes/program_node.h
>
5
6
namespace
arcs
{
7
namespace
aubo_scope {
8
ARCS_CLASS_FORWARD
(Expression);
9
ARCS_CLASS_FORWARD
(IfNode);
10
11
class
ARCS_ABI_EXPORT
IfNode
:
public
ProgramNode
12
{
13
public
:
14
IfNode
(
IfNode
&f);
15
IfNode
(
IfNode
&&f);
16
virtual
~
IfNode
();
17
18
/**
19
* Sets the expression used by the node.
20
*
21
* @param expression The expression that will be evaluated in this If Node.
22
* @return The same If Node.
23
* @throws IllegalStateException if called from a Swing-based AuboCap
24
* outside of an {@link UndoableChanges} scope (see also {@link
25
* UndoRedoManager}).
26
*/
27
void
setExpression(ExpressionPtr expression);
28
29
/**
30
* @return the Expression to be evaluated in this If node.
31
*/
32
ExpressionPtr getExpression();
33
34
private
:
35
friend
class
DataSwitch;
36
IfNode
();
37
void
*d_{
nullptr
};
38
};
39
40
}
// namespace aubo_scope
41
}
// namespace arcs
42
#endif // AUBO_SCOPE_IF_NODE_H
arcs::aubo_scope::ARCS_CLASS_FORWARD
ARCS_CLASS_FORWARD(GripForceCapability)
arcs::aubo_scope::IfNode
Definition:
if_node.h:11
arcs::aubo_scope::ProgramNode
Definition:
program_node.h:18
ARCS_ABI_EXPORT
#define ARCS_ABI_EXPORT
Definition:
class_forward.h:16
arcs
Definition:
contribution_provider.h:7
program_node.h
Generated by
1.8.11