AuboStudio SDK 0.6.3

Public 成员函数 | Private 成员函数 | Private 属性 | 友元 | 所有成员列表
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.h 第 25 行定义.

## 构造及析构函数说明

## ◆ Expression() [1/3]

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

## ◆ Expression() [2/3]

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

## ◆ ~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).

参数

  expressionPart | the 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.

参数

  feature | the Feature to append

返回
  the ExpressionBuilder

## ◆ appendIo()

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

Append an I/O object to the expression.

参数

  io | the I/O to append.

返回
  the ExpressionBuilder

## ◆ appendVariable()

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

Append a variable object to the expression.

参数

  variable | the 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.

参数

  waypoint | the waypoint to append

返回
  the ExpressionBuilder

## ◆ toString()

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

## 友元及相关函数文档

## ◆ DataSwitch

friend class DataSwitch
| friend

在文件 expression.h 第 79 行定义.

## 类成员变量说明

## ◆ d_

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

在文件 expression.h 第 81 行定义.

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

- include/aubo_caps/domain/value/expression/expression.h