|
AuboStudio SDK
0.6.3
|
|
|
|
|
Provides methods that returns the variables that currently are registered in the system. 更多...
#include <variable_model.h>
Public 成员函数 | |
| VariableModel (VariableModel &f) | |
| VariableModel (VariableModel &&f) | |
| ~VariableModel () | |
| std::vector< VariablePtr > | getAll () |
| VariablePtr | get (const std::string &name) |
| std::vector< VariablePtr > | get (std::function< bool(VariablePtr)> filter=[](VariablePtr) { return true;}) |
| Get a subset of all the variables registered in the system using a filter. | |
| VariableFactoryPtr | getVariableFactory () |
| FeatureVariablePtr | getFeatureVariable (FeaturePtr feature) |
Get the feature variable for a Feature. | |
| std::string | connectedTo (const std::string &receiver, const std::function< void(VariableModel *)> &slot) |
| Register callback for changed | |
| void | disconnectFrom (const std::string &receiver) |
Private 成员函数 | |
| VariableModel () | |
Private 属性 | |
| void * | d_ { nullptr } |
友元 | |
| class | DataSwitch |
Provides methods that returns the variables that currently are registered in the system.
A variable is registered if it has been stored in a DataModel instance or used for the configuration of a built-in AuboScope program node.
在文件 variable_model.h 第 20 行定义.
| arcs::aubo_scope::VariableModel::VariableModel | ( | VariableModel & | f | ) |
引用了 VariableModel().
被这些函数引用 connectedTo(), VariableModel() , 以及 VariableModel().


| arcs::aubo_scope::VariableModel::VariableModel | ( | VariableModel && | f | ) |
| arcs::aubo_scope::VariableModel::~VariableModel | ( | ) |
|
private |
| std::string arcs::aubo_scope::VariableModel::connectedTo | ( | const std::string & | receiver, |
| const std::function< void(VariableModel *)> & | slot ) |
| void arcs::aubo_scope::VariableModel::disconnectFrom | ( | const std::string & | receiver | ) |
| VariablePtr arcs::aubo_scope::VariableModel::get | ( | const std::string & | name | ) |
| std::vector< VariablePtr > arcs::aubo_scope::VariableModel::get | ( | std::function< bool(VariablePtr)> | filter = [](VariablePtr) { return true;} | ) |
Get a subset of all the variables registered in the system using a filter.
| filter | see VariableFilterFactory for examples. |
| std::vector< VariablePtr > arcs::aubo_scope::VariableModel::getAll | ( | ) |
| FeatureVariablePtr arcs::aubo_scope::VariableModel::getFeatureVariable | ( | FeaturePtr | feature | ) |
Get the feature variable for a Feature.
| feature | the feature with a variable. |
| IllegalArgumentException | If feature not is present in the installation or feature has no variable, see Feature#isVariable(). |
| VariableFactoryPtr arcs::aubo_scope::VariableModel::getVariableFactory | ( | ) |
VariableFactory to create variable objects.
|
friend |
|
private |
在文件 variable_model.h 第 78 行定义.