1#ifndef AUBO_SCOPE_VARIABLE_MODEL_H
2#define AUBO_SCOPE_VARIABLE_MODEL_H
50 VariablePtr
get(
const std::string &name);
66 std::vector<VariablePtr>
get(std::function<
bool(VariablePtr)> filter =
67 [](VariablePtr) {
return true; });
#define ARCS_CLASS_FORWARD(C)
Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR...
\chinese 变量模型 提供返回系统中当前已注册变量的方法。变量在存储到 DataModel 实例中或 用于配置内置 AuboScope 程序节点时即被注册。 \endchinese \englis...
VariableModel(VariableModel &&f)
FeatureVariablePtr getFeatureVariable(FeaturePtr feature)
\chinese 获取特征对应的特征变量
std::vector< VariablePtr > get(std::function< bool(VariablePtr)> filter=[](VariablePtr) { return true;})
\chinese 使用过滤器获取已注册变量的子集
VariableFactoryPtr getVariableFactory()
\chinese 获取变量工厂,用于创建变量对象
void disconnectFrom(const std::string &receiver)
\chinese 断开回调连接
VariableModel(VariableModel &f)
std::string connectedTo(const std::string &receiver, const std::function< void(VariableModel *)> &slot)
\chinese 注册变更回调
VariablePtr get(const std::string &name)
std::vector< VariablePtr > getAll()
\chinese 获取系统中当前已注册的所有变量