|
AuboStudio SDK
0.6.3
|
|
|
|
|
#include <variable_factory.h>
Public 成员函数 | |
| VariableFactory (VariableFactory &f) | |
| VariableFactory (VariableFactory &&f) | |
| ~VariableFactory () | |
| GlobalVariablePtr | createGlobalVariable (const std::string &suggested_name) |
| \chinese | |
| GlobalVariablePtr | createGlobalVariable (const std::string &suggested_name, ExpressionPtr initialValue) |
| \chinese | |
| FeatureVariablePtr | createFeatureVariable (const std::string &suggested_name, const std::vector< double > &pose) |
| \chinese | |
Private 成员函数 | |
| VariableFactory () | |
Private 属性 | |
| void * | d_ { nullptr } |
友元 | |
| 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).
在文件 variable_factory.h 第 21 行定义.
| arcs::aubo_scope::VariableFactory::VariableFactory | ( | VariableFactory & | f | ) |
| 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 ) |
\chinese
创建特征变量。
| suggested_name | 建议的变量名称。 |
| pose | 特征的位姿。 |
| VariableException | 名称非法时抛出。 \endchinese \english |
Creates a feature variable.
| suggested_name | Suggested name of the variable. |
| pose | the pose of the feature. |
| VariableException | In case of an illegal name. \endenglish |
| GlobalVariablePtr arcs::aubo_scope::VariableFactory::createGlobalVariable | ( | const std::string & | suggested_name | ) |
\chinese
创建全局变量。在AuboScope中注册后将对所有程序节点可见。
| suggested_name | 建议的变量名称。 |
| VariableException | 名称非法时抛出。 \endchinese \english |
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. \endenglish |
| GlobalVariablePtr arcs::aubo_scope::VariableFactory::createGlobalVariable | ( | const std::string & | suggested_name, |
| ExpressionPtr | initialValue ) |
\chinese
创建带初始值的全局变量。
| suggested_name | 建议的变量名称。 |
| 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. \endenglish |
|
friend |
|
private |
在文件 variable_factory.h 第 100 行定义.