AuboStudio SDK  0.6.3
arcs::aubo_scope::Expression类 参考

#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.h25 行定义.

构造及析构函数说明

◆ Expression() [1/3]

arcs::aubo_scope::Expression::Expression ( Expression & f)

引用了 Expression().

被这些函数引用 Expression() , 以及 Expression().

函数调用图:
这是这个函数的调用关系图:

◆ Expression() [2/3]

arcs::aubo_scope::Expression::Expression ( Expression && f)

引用了 Expression().

函数调用图:

◆ ~Expression()

virtual arcs::aubo_scope::Expression::~Expression ( )
virtual

◆ Expression() [3/3]

arcs::aubo_scope::Expression::Expression ( )
private

成员函数说明

◆ append()

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).

参数
expressionPartthe expression part to be appended.
返回
the ExpressionBuilder

◆ appendFeature()

void arcs::aubo_scope::Expression::appendFeature ( FeaturePtr feature)

Append a Feature object to the expression.

When this part is evaluated the pose of the Feature is used.

参数
featurethe Feature to append
返回
the ExpressionBuilder

◆ appendIo()

void arcs::aubo_scope::Expression::appendIo ( IoPtr io)

Append an I/O object to the expression.

参数
iothe I/O to append.
返回
the ExpressionBuilder

◆ appendVariable()

void arcs::aubo_scope::Expression::appendVariable ( VariablePtr variable)

Append a variable object to the expression.

参数
variablethe variable to append.
返回
the ExpressionBuilder

◆ appendWaypoint()

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.

参数
waypointthe waypoint to append
返回
the ExpressionBuilder

◆ toString()

std::string arcs::aubo_scope::Expression::toString ( )

◆ DataSwitch

friend class DataSwitch
friend

在文件 expression.h79 行定义.

引用了 DataSwitch.

被这些函数引用 DataSwitch.

类成员变量说明

◆ d_

void* arcs::aubo_scope::Expression::d_ { nullptr }
private

在文件 expression.h81 行定义.


该类的文档由以下文件生成: