|
AuboStudio SDK
0.6.3
|
|
|
|
|
\chinese 变量接口 表示 AuboScope 中的变量。变量可用于在程序中存储和传递数据。 \endchinese \english Variable Represents a variable in AuboScope. 更多...
#include <variable.h>

Public 类型 | |
| enum | Type : int { GLOBAL , VALUE_PERSISTED , FEATURE } |
| The variable type used to determine which type of variable this instance is. 更多... | |
Public 成员函数 | |
| Variable (Variable &f) | |
| Variable (Variable &&f) | |
| virtual | ~Variable () |
| Type | getType () |
| \chinese 获取变量类型 | |
| std::string | getDisplayName () |
| \chinese 获取变量显示名称。注意:变量可随时被重命名。 | |
| bool | equals (VariablePtr object) |
| \chinese 判断是否引用相同的内部变量 | |
| size_t | hashCode () |
| \chinese 获取哈希码 | |
| std::string | toString () |
| \chinese 获取变量的字符串表示 | |
Protected 成员函数 | |
| Variable () | |
Private 属性 | |
| void * | d_ { nullptr } |
友元 | |
| class | DataSwitch |
\chinese 变量接口 表示 AuboScope 中的变量。变量可用于在程序中存储和传递数据。 \endchinese \english Variable Represents a variable in AuboScope.
Variables can be used to store and pass data in programs. \endenglish
在文件 variable.h 第 24 行定义.
| enum arcs::aubo_scope::Variable::Type : int |
The variable type used to determine which type of variable this instance is.
| 枚举值 | |
|---|---|
| GLOBAL | GLOBAL means that the variable is available everywhere in a program. This variable instance can be cast to |
| VALUE_PERSISTED | VALUE_PERSISTED means that the variable is stored with the installation. These variables are defined in the installation and will retain their values even when a robot is turned off and on. This variable instance can be cast to |
| FEATURE | FEATURE means that a Feature is marked as a variable. The variable is defined in the installation and will exist even when a robot is turned off and on. This variable instance can be cast to |
在文件 variable.h 第 35 行定义.
| arcs::aubo_scope::Variable::Variable | ( | Variable & | f | ) |
| arcs::aubo_scope::Variable::Variable | ( | Variable && | f | ) |
|
virtual |
|
protected |
| bool arcs::aubo_scope::Variable::equals | ( | VariablePtr | object | ) |
| std::string arcs::aubo_scope::Variable::getDisplayName | ( | ) |
\chinese 获取变量显示名称。注意:变量可随时被重命名。
| Type arcs::aubo_scope::Variable::getType | ( | ) |
\chinese 获取变量类型
| size_t arcs::aubo_scope::Variable::hashCode | ( | ) |
\chinese 获取哈希码
| std::string arcs::aubo_scope::Variable::toString | ( | ) |
\chinese 获取变量的字符串表示
|
friend |
|
private |
在文件 variable.h 第 140 行定义.