![]() |
Scanframe Modular Application 0.1.0
|
Structure used to set up a variable The method Variable::getDefinition() transforms the definition string into this structure. More...
#include <VariableTypes.h>
Public Attributes | |
bool | _valid {false} |
Flag indicating this structure is valid. | |
id_type | _id {0} |
The id of the new global instance. | |
std::string | _name |
Name path separated using '|' characters. | |
flags_type | _flags {0} |
Combination of EFlag flags. | |
std::string | _description |
Description of the instance without comma's. | |
std::string | _unit |
unit preferably in SI units so conversion and calculations are simple. Also used to Set the string filter type. | |
std::string | _convertOption |
Additional option used during conversion. (not used yet) | |
Value::EType | _type |
Internal type of the instance. | |
Value | _roundValue |
Rounding value. The value is a multiple of this value. | |
Value | _defaultValue |
This is the value this instance starts with. | |
Value | _minValue |
Minimum limit of this instance. When the min and max limits are zero no limits are applied. | |
Value | _maxValue |
Maximum limit of this instance. When the min and max limits are zero no limits are applied. | |
State::Vector | _states |
A vector of VariableTypes::State` instances. | |
Structure used to set up a variable The method Variable::getDefinition() transforms the definition string into this structure.
std::string sf::VariableTypes::Definition::_convertOption |
Additional option used during conversion. (not used yet)
Value sf::VariableTypes::Definition::_defaultValue |
This is the value this instance starts with.
std::string sf::VariableTypes::Definition::_description |
Description of the instance without comma's.
flags_type sf::VariableTypes::Definition::_flags {0} |
Combination of EFlag flags.
id_type sf::VariableTypes::Definition::_id {0} |
The id of the new global instance.
Value sf::VariableTypes::Definition::_maxValue |
Maximum limit of this instance.
When the min and max limits are zero no limits are applied.
Value sf::VariableTypes::Definition::_minValue |
Minimum limit of this instance.
When the min and max limits are zero no limits are applied.
std::string sf::VariableTypes::Definition::_name |
Name path separated using '|' characters.
Value sf::VariableTypes::Definition::_roundValue |
Rounding value. The value is a multiple of this value.
State::Vector sf::VariableTypes::Definition::_states |
A vector of VariableTypes::State` instances.
Value::EType sf::VariableTypes::Definition::_type |
Internal type of the instance.
std::string sf::VariableTypes::Definition::_unit |
unit preferably in SI units so conversion and calculations are simple.
Also used to Set the string filter type.
bool sf::VariableTypes::Definition::_valid {false} |
Flag indicating this structure is valid.