|
AuboStudio SDK
0.6.3
|
|
|
|
|
ingroup ApplicationApi This interface represents variables stored with the installation. 更多...
#include <persisted_variable.h>


Public 成员函数 | |
| PersistedVariable (PersistedVariable &f) | |
| PersistedVariable (PersistedVariable &&f) | |
| virtual | ~PersistedVariable () |
| bool | isResolvable () |
| 持久化变量无法保证始终存在。当终端用户加载不包含该变量的不同安装或删除该变量时, 持久化变量将不可用。如果变量无法解析,存储了PersistedVariable的程序节点将变 为未定义。 | |
| Public 成员函数 继承自 arcs::aubo_scope::Variable | |
| Variable (Variable &f) | |
| Variable (Variable &&f) | |
| virtual | ~Variable () |
| Type | getType () |
| 获取变量类型 | |
| std::string | getDisplayName () |
| 获取变量显示名称。注意:变量可随时被重命名。 | |
| bool | equals (VariablePtr object) |
| 判断是否引用相同的内部变量 | |
| size_t | hashCode () |
| 获取哈希码 | |
| std::string | toString () |
| 获取变量的字符串表示 | |
Protected 成员函数 | |
| PersistedVariable () | |
| Protected 成员函数 继承自 arcs::aubo_scope::Variable | |
| Variable () | |
Private 属性 | |
| void * | d_ { nullptr } |
友元 | |
| class | DataSwitch |
额外继承的成员函数 | |
| Public 类型 继承自 arcs::aubo_scope::Variable | |
| enum | Type : int { GLOBAL , VALUE_PERSISTED , FEATURE } |
| The variable type used to determine which type of variable this instance is. 更多... | |
ingroup ApplicationApi This interface represents variables stored with the installation.
These variables are defined in the installation and will exist even when a robot is turned off and on.
在文件 persisted_variable.h 第 16 行定义.
| arcs::aubo_scope::PersistedVariable::PersistedVariable | ( | PersistedVariable & | f | ) |
| arcs::aubo_scope::PersistedVariable::PersistedVariable | ( | PersistedVariable && | f | ) |
|
virtual |
|
protected |
| bool arcs::aubo_scope::PersistedVariable::isResolvable | ( | ) |
持久化变量无法保证始终存在。当终端用户加载不包含该变量的不同安装或删除该变量时, 持久化变量将不可用。如果变量无法解析,存储了PersistedVariable的程序节点将变 为未定义。
true。
|
friend |
|
private |
在文件 persisted_variable.h 第 54 行定义.