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


Public 成员函数 | |
| PersistedVariable (PersistedVariable &f) | |
| PersistedVariable (PersistedVariable &&f) | |
| virtual | ~PersistedVariable () |
| bool | isResolvable () |
| A persisted variable can not be guaranteed to be present. | |
| Public 成员函数 继承自 arcs::aubo_scope::Variable | |
| Variable (Variable &f) | |
| Variable (Variable &&f) | |
| virtual | ~Variable () |
| Type | getType () |
| std::string | getDisplayName () |
| Note: The variable can be renamed at any time. | |
| 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. 更多... | |
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 第 15 行定义.
| arcs::aubo_scope::PersistedVariable::PersistedVariable | ( | PersistedVariable & | f | ) |
| arcs::aubo_scope::PersistedVariable::PersistedVariable | ( | PersistedVariable && | f | ) |
|
virtual |
|
protected |
| bool arcs::aubo_scope::PersistedVariable::isResolvable | ( | ) |
A persisted variable can not be guaranteed to be present.
This method can be used to determine, if the variable is present.
The persisted variable will not be present, if the end user loads a different installation which does not contain the variable, or if the variable is deleted by the end user.
A program node storing a PersistedVariable in its Data Model will be undefined if the variable cannot be resolved (i.e. the variable is not present).
true, if this persisted variable is resolvable (i.e. present in the current installation).
|
friend |
|
private |
在文件 persisted_variable.h 第 44 行定义.