|
AuboStudio SDK
0.6.3
|
|
|
|
|
#include <variable_factory.h>
Public Member Functions | |
| VariableFactory (VariableFactory &f) | |
| VariableFactory (VariableFactory &&f) | |
| ~VariableFactory () | |
| GlobalVariablePtr | createGlobalVariable (const std::string &suggested_name) |
| GlobalVariablePtr | createGlobalVariable (const std::string &suggested_name, ExpressionPtr initialValue) |
| FeatureVariablePtr | createFeatureVariable (const std::string &suggested_name, const std::vector< double > &pose) |
Private Member Functions | |
| VariableFactory () | |
Private Attributes | |
| void * | d_ { nullptr } |
Friends | |
| class | DataSwitch |
This interface supplies methods to create variable objects.
NOTE: Only use this functionality in a AuboCap program node (not relevant for an installation node).
Definition at line 21 of file variable_factory.h.
| arcs::aubo_scope::VariableFactory::VariableFactory | ( | VariableFactory & | f | ) |
References VariableFactory().
Referenced by VariableFactory(), and VariableFactory().


| arcs::aubo_scope::VariableFactory::VariableFactory | ( | VariableFactory && | f | ) |
| arcs::aubo_scope::VariableFactory::~VariableFactory | ( | ) |
|
private |
| FeatureVariablePtr arcs::aubo_scope::VariableFactory::createFeatureVariable | ( | const std::string & | suggested_name, |
| const std::vector< double > & | pose ) |
Creates a feature variable.
| suggested_name | Suggested name of the variable. |
| pose | the pose of the feature. |
| VariableException | In case of an illegal name. |
| GlobalVariablePtr arcs::aubo_scope::VariableFactory::createGlobalVariable | ( | const std::string & | suggested_name | ) |
Creates a global variable. Registering the variable in AuboScope (by storing it in a DataModel instance or using it for the configuration of a built-in AuboScope program node) will make it accessible to all program nodes.
| suggested_name | Suggested name of the variable. |
| VariableException | In case of an illegal name. |
| GlobalVariablePtr arcs::aubo_scope::VariableFactory::createGlobalVariable | ( | const std::string & | suggested_name, |
| ExpressionPtr | initialValue ) |
Creates a global variable with an initial value.
| suggested_name | Suggested name of the variable. |
| initialValue | The expression that will be evaluated in order to initialize the value of the variable. |
| VariableException | In case of an illegal name. |
|
friend |
|
private |
Definition at line 100 of file variable_factory.h.