AuboCaps
0.6.0
|
#include <expression.h>
Public Member Functions | |
Expression (Expression &f) | |
Expression (Expression &&f) | |
virtual | ~Expression () |
std::string | toString () |
void | append (const std::string &expressionPart) |
Append a string part of the expression. More... | |
void | appendVariable (VariablePtr variable) |
Append a variable object to the expression. More... | |
void | appendFeature (FeaturePtr feature) |
Append a Feature object to the expression. More... | |
void | appendWaypoint (WaypointPtr waypoint) |
Append a waypoint to the expression. More... | |
void | appendIo (IoPtr io) |
Append an I/O object to the expression. More... | |
Private Member Functions | |
Expression () | |
Private Attributes | |
void * | d_ { nullptr } |
Friends | |
class | DataSwitch |
An expression can be used for, e.g. configuration of various built-in program nodes, such as If and Wait nodes. Expressions are typically conditional expressions (which evaluates to true or false).
An Expression is built using the ExpressionBuilder interface.
Definition at line 25 of file expression.h.
arcs::aubo_scope::Expression::Expression | ( | Expression & | f | ) |
arcs::aubo_scope::Expression::Expression | ( | Expression && | f | ) |
|
virtual |
|
private |
void arcs::aubo_scope::Expression::append | ( | const std::string & | expressionPart | ) |
Append a string part of the expression.
This can be anything that is valid in an expression or even the full expression if it does not contain references to any entities (such as variables and features among others).
expressionPart | the expression part to be appended. |
void arcs::aubo_scope::Expression::appendFeature | ( | FeaturePtr | feature | ) |
void arcs::aubo_scope::Expression::appendIo | ( | IoPtr | io | ) |
Append an I/O object to the expression.
io | the I/O to append. |
void arcs::aubo_scope::Expression::appendVariable | ( | VariablePtr | variable | ) |
Append a variable object to the expression.
variable | the variable to append. |
void arcs::aubo_scope::Expression::appendWaypoint | ( | WaypointPtr | waypoint | ) |
Append a waypoint to the expression.
When this part is evaluated the pose of the waypoint is used.
waypoint | the waypoint to append |
std::string arcs::aubo_scope::Expression::toString | ( | ) |
|
friend |
Definition at line 79 of file expression.h.
|
private |
Definition at line 81 of file expression.h.