变量模型 提供返回系统中当前已注册变量的方法。变量在存储到 DataModel 实例中或 用于配置内置 AuboScope 程序节点时即被注册。
更多...
#include <variable_model.h>
变量模型 提供返回系统中当前已注册变量的方法。变量在存储到 DataModel 实例中或 用于配置内置 AuboScope 程序节点时即被注册。
在文件 variable_model.h 第 29 行定义.
◆ VariableModel() [1/3]
| arcs::aubo_scope::VariableModel::VariableModel |
( |
VariableModel & | f | ) |
|
◆ VariableModel() [2/3]
| arcs::aubo_scope::VariableModel::VariableModel |
( |
VariableModel && | f | ) |
|
◆ ~VariableModel()
| arcs::aubo_scope::VariableModel::~VariableModel |
( |
| ) |
|
◆ VariableModel() [3/3]
| arcs::aubo_scope::VariableModel::VariableModel |
( |
| ) |
|
|
private |
◆ connectedTo()
| std::string arcs::aubo_scope::VariableModel::connectedTo |
( |
const std::string & | receiver, |
|
|
const std::function< void(VariableModel *)> & | slot ) |
◆ disconnectFrom()
| void arcs::aubo_scope::VariableModel::disconnectFrom |
( |
const std::string & | receiver | ) |
|
◆ get() [1/2]
| VariablePtr arcs::aubo_scope::VariableModel::get |
( |
const std::string & | name | ) |
|
◆ get() [2/2]
| std::vector< VariablePtr > arcs::aubo_scope::VariableModel::get |
( |
std::function< bool(VariablePtr)> | filter = [](VariablePtr) { return true;} | ) |
|
使用过滤器获取已注册变量的子集
- 参数
-
- 返回
- 被过滤器接受的变量集合。
◆ getAll()
| std::vector< VariablePtr > arcs::aubo_scope::VariableModel::getAll |
( |
| ) |
|
获取系统中当前已注册的所有变量
- 返回
- 已注册变量的集合。
◆ getFeatureVariable()
| FeatureVariablePtr arcs::aubo_scope::VariableModel::getFeatureVariable |
( |
FeaturePtr | feature | ) |
|
获取特征对应的特征变量
- 参数
-
- 返回
- 特征的变量。
- 异常
-
| IllegalArgumentException | 如果特征不在安装中或特征没有变量。 |
◆ getVariableFactory()
| VariableFactoryPtr arcs::aubo_scope::VariableModel::getVariableFactory |
( |
| ) |
|
◆ DataSwitch
◆ d_
| void* arcs::aubo_scope::VariableModel::d_ { nullptr } |
|
private |
该类的文档由以下文件生成: