AuboCaps
0.6.0
|
This interface represents variables stored with the installation. More...
#include <persisted_variable.h>
Public Member Functions | |
PersistedVariable (PersistedVariable &f) | |
PersistedVariable (PersistedVariable &&f) | |
virtual | ~PersistedVariable () |
bool | isResolvable () |
A persisted variable can not be guaranteed to be present. More... | |
Public Member Functions inherited from 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. More... | |
bool | equals (VariablePtr object) |
size_t | hashCode () |
std::string | toString () |
Protected Member Functions | |
PersistedVariable () | |
Protected Member Functions inherited from arcs::aubo_scope::Variable | |
Variable () | |
Private Attributes | |
void * | d_ { nullptr } |
Friends | |
class | DataSwitch |
Additional Inherited Members | |
Public Types inherited from arcs::aubo_scope::Variable | |
enum | Type : int { GLOBAL, VALUE_PERSISTED, FEATURE } |
The variable type used to determine which type of variable this instance is. More... | |
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.
Definition at line 15 of file persisted_variable.h.
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 |
Definition at line 43 of file persisted_variable.h.
|
private |
Definition at line 44 of file persisted_variable.h.