|
AuboStudio SDK
0.6.3
|
|
|
|
|
#include <expression.h>
Public 成员函数 | |
| Expression (Expression &f) | |
| Expression (Expression &&f) | |
| virtual | ~Expression () |
| std::string | toString () |
| void | append (const std::string &expressionPart) |
| Append a string part of the expression. | |
| void | appendVariable (VariablePtr variable) |
| Append a variable object to the expression. | |
| void | appendFeature (FeaturePtr feature) |
| Append a Feature object to the expression. | |
| void | appendWaypoint (WaypointPtr waypoint) |
| Append a waypoint to the expression. | |
| void | appendIo (IoPtr io) |
| Append an I/O object to the expression. | |
Private 成员函数 | |
| Expression () | |
Private 属性 | |
| void * | d_ { nullptr } |
友元 | |
| 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.
在文件 expression.h 第 25 行定义.
| 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 |
|
private |
在文件 expression.h 第 81 行定义.