变量接口 表示 AuboScope 中的变量。变量可用于在程序中存储和传递数据。
更多...
#include <variable.h>
变量接口 表示 AuboScope 中的变量。变量可用于在程序中存储和传递数据。
在文件 variable.h 第 24 行定义.
◆ Type
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 GlobalVariable.
|
| 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 ValuePersistedVariable.
|
| 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 FeatureVariable.
|
在文件 variable.h 第 35 行定义.
◆ Variable() [1/3]
| arcs::aubo_scope::Variable::Variable |
( |
Variable & | f | ) |
|
◆ Variable() [2/3]
| arcs::aubo_scope::Variable::Variable |
( |
Variable && | f | ) |
|
◆ ~Variable()
| virtual arcs::aubo_scope::Variable::~Variable |
( |
| ) |
|
|
virtual |
◆ Variable() [3/3]
| arcs::aubo_scope::Variable::Variable |
( |
| ) |
|
|
protected |
◆ equals()
| bool arcs::aubo_scope::Variable::equals |
( |
VariablePtr | object | ) |
|
判断是否引用相同的内部变量
- 返回
- 如果对象引用相同的内部变量返回true。
◆ getDisplayName()
| std::string arcs::aubo_scope::Variable::getDisplayName |
( |
| ) |
|
获取变量显示名称。注意:变量可随时被重命名。
- 返回
- 变量显示名称。
◆ getType()
| Type arcs::aubo_scope::Variable::getType |
( |
| ) |
|
◆ hashCode()
| size_t arcs::aubo_scope::Variable::hashCode |
( |
| ) |
|
◆ toString()
| std::string arcs::aubo_scope::Variable::toString |
( |
| ) |
|
◆ DataSwitch
◆ d_
| void* arcs::aubo_scope::Variable::d_ { nullptr } |
|
private |
该类的文档由以下文件生成: