Provides methods that returns the variables that currently are registered in the system.
More...
#include <variable_model.h>
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.
Definition at line 20 of file variable_model.h.
arcs::aubo_scope::VariableModel::VariableModel |
( |
VariableModel & |
f | ) |
|
arcs::aubo_scope::VariableModel::VariableModel |
( |
VariableModel && |
f | ) |
|
arcs::aubo_scope::VariableModel::~VariableModel |
( |
| ) |
|
arcs::aubo_scope::VariableModel::VariableModel |
( |
| ) |
|
|
private |
std::string arcs::aubo_scope::VariableModel::connectedTo |
( |
const std::string & |
receiver, |
|
|
const std::function< void(VariableModel *)> & |
slot |
|
) |
| |
Register callback for changed.
- Parameters
-
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.
- Parameters
-
- Returns
- the collection of Variables that are accepted by the filter.
std::vector<VariablePtr> arcs::aubo_scope::VariableModel::getAll |
( |
| ) |
|
- Returns
- the collection of all variables that currently are registered in the system.
FeatureVariablePtr arcs::aubo_scope::VariableModel::getFeatureVariable |
( |
FeaturePtr |
feature | ) |
|
Get the feature variable for a Feature.
- Parameters
-
feature | the feature with a variable. |
- Returns
- the variable for the feature.
- Exceptions
-
IllegalArgumentException | If feature not is present in the installation or feature has no variable, see Feature#isVariable(). |
VariableFactoryPtr arcs::aubo_scope::VariableModel::getVariableFactory |
( |
| ) |
|
void* arcs::aubo_scope::VariableModel::d_ { nullptr } |
|
private |
The documentation for this class was generated from the following file: