13class VariableReference;
60 :
_name(std::move(name))
Counted vector having additional methods and operators for ease of usage. This template class extends...
Definition TVector.h:19
Value container class able to performing arithmetic functions.
Definition Value.h:19
EType
Enumerate for available types.
Definition Value.h:34
Type containing a name referencing a value and is called a state.
Definition VariableTypes.h:47
State(std::string name, const Value &value)
Initialization constructor.
Definition VariableTypes.h:59
State & assign(const State &s)
Assignment function for save copying of the structure.
Definition VariableTypes.h:84
bool operator!=(const State &state) const
Compare unequal operator.
Definition VariableTypes.h:111
State(const State &s)
Copy constructor.
Definition VariableTypes.h:67
State()
Default constructor.
Definition VariableTypes.h:52
Value _value
Value which belongs to the name.
Definition VariableTypes.h:79
TVector< State > Vector
Vector class to be able to create a state list.
Definition VariableTypes.h:119
State & operator=(const State &s)
Assignment operator for save copying of the structure.
Definition VariableTypes.h:94
std::string _name
Name of the contained value.
Definition VariableTypes.h:75
bool operator==(const State &state) const
Compare equal operator.
Definition VariableTypes.h:103
This base class contains all local types of used in the Variable class. Multiple inheritance makes th...
Definition VariableTypes.h:26
EStringType
Enumeration of string types used for filtering.
Definition VariableTypes.h:254
@ stDirectory
Definition VariableTypes.h:262
@ stNormal
Definition VariableTypes.h:256
@ stFilename
Definition VariableTypes.h:264
@ stSubdirectory
Definition VariableTypes.h:266
@ stPath
Definition VariableTypes.h:260
@ stMulti
Definition VariableTypes.h:258
TVector< Variable * > PtrVector
Vector for pointers to variables.
Definition VariableTypes.h:31
EFlag
Enumeration type for specifying flags.
Definition VariableTypes.h:205
@ flgParameter
Definition VariableTypes.h:233
@ flgHidden
Definition VariableTypes.h:237
@ flgWriteable
Definition VariableTypes.h:247
@ flgArchive
Definition VariableTypes.h:213
@ flgShare
Definition VariableTypes.h:218
@ flgExport
Definition VariableTypes.h:242
@ flgLink
Definition VariableTypes.h:222
@ flgFunction
Definition VariableTypes.h:227
@ flgReadonly
Definition VariableTypes.h:209
EEvent
Events sent to the handler set with Variable::setHandler. For broadcast events the variable paramet...
Definition VariableTypes.h:129
@ veLinked
Definition VariableTypes.h:161
@ veLostOwner
Definition VariableTypes.h:159
@ veDesiredId
Definition VariableTypes.h:153
@ veUserPrivate
Definition VariableTypes.h:167
@ veRemove
Definition VariableTypes.h:155
@ veFlagsChange
Definition VariableTypes.h:139
@ veUnlinked
Definition VariableTypes.h:163
@ veNewId
Definition VariableTypes.h:133
@ veGetOwner
Definition VariableTypes.h:157
@ veUserGlobal
Definition VariableTypes.h:135
@ veConvert
Definition VariableTypes.h:131
@ veSetup
Definition VariableTypes.h:165
@ veUserLocal
Definition VariableTypes.h:147
@ veFirstLocal
Definition VariableTypes.h:137
@ veValueChange
Definition VariableTypes.h:141
@ veConverted
Definition VariableTypes.h:145
@ veInvalid
Definition VariableTypes.h:143
@ veIdChanged
Definition VariableTypes.h:151
@ veFirstPrivate
Definition VariableTypes.h:149
TVector< VariableReference * > ReferenceVector
Types for internal use.
Definition VariableTypes.h:41
TVector< Variable > Vector
Vector for instances of variables.
Definition VariableTypes.h:36
EField
Enumeration of the fields order in the setup string.
Definition VariableTypes.h:174
@ vfId
Definition VariableTypes.h:176
@ vfUnit
Definition VariableTypes.h:180
@ vfDefault
Definition VariableTypes.h:192
@ vfDescription
Definition VariableTypes.h:184
@ vfMinimum
Definition VariableTypes.h:194
@ vfRound
Definition VariableTypes.h:190
@ vfFlags
Definition VariableTypes.h:182
@ vfFirstState
Definition VariableTypes.h:198
@ vfType
Definition VariableTypes.h:186
@ vfMaximum
Definition VariableTypes.h:196
@ vfConversionType
Definition VariableTypes.h:188
@ vfName
Definition VariableTypes.h:178
@ Variable
Type of the id is a variable.
Definition gii/qt/Namespace.h:25
Definition Application.h:10
Structure used to set up a variable The method Variable::getDefinition() transforms the definition st...
Definition VariableTypes.h:274
Value _maxValue
Maximum limit of this instance. When the min and max limits are zero, no limits are applied.
Definition VariableTypes.h:325
Value _roundValue
Rounding value. The value is a multiple of this value.
Definition VariableTypes.h:312
Value _defaultValue
This is the value this instance starts with.
Definition VariableTypes.h:316
std::string _convertOption
Additional option used during conversion. (not used yet)
Definition VariableTypes.h:304
bool _valid
Flag indicating this structure is valid.
Definition VariableTypes.h:279
std::string _name
Name path separated using '|' characters.
Definition VariableTypes.h:287
std::string _unit
Unit preferably in SI units, so conversion and calculations are straightforward. Also used to Set the...
Definition VariableTypes.h:300
id_type _id
The id of the new global instance.
Definition VariableTypes.h:283
State::Vector _states
A vector of VariableTypes::State` instances.
Definition VariableTypes.h:329
Value _minValue
Minimum limit of this instance. When the min and max limits are zero, no limits are applied.
Definition VariableTypes.h:320
flags_type _flags
Combination of EFlag flags.
Definition VariableTypes.h:291
Value::EType _type
Internal type of the instance.
Definition VariableTypes.h:308
std::string _description
Description of the instance without comma's.
Definition VariableTypes.h:295