31 #ifndef DEVICEPARAMETERLOGICAL_H_ 32 #define DEVICEPARAMETERLOGICAL_H_ 36 #include <unordered_map> 52 namespace DeviceDescription
59 class LogicalEnumeration;
61 class LogicalInteger64;
80 bool indexDefined =
false;
84 EnumerationValue(std::string
id, int32_t index) { this->
id =
id; this->index = index; indexDefined =
true; }
100 virtual std::shared_ptr<Variable> getSetToValueOnPairing() = 0;
101 virtual std::shared_ptr<Variable> getDefaultValue() = 0;
104 bool defaultValueExists =
false;
105 bool setToValueOnPairingExists =
false;
115 int32_t defaultValue = 0;
116 int32_t setToValueOnPairing = 0;
123 virtual std::shared_ptr<Variable> getSetToValueOnPairing();
124 virtual std::shared_ptr<Variable> getDefaultValue();
132 int64_t defaultValue = 0;
133 int64_t setToValueOnPairing = 0;
140 virtual std::shared_ptr<Variable> getSetToValueOnPairing();
141 virtual std::shared_ptr<Variable> getDefaultValue();
149 double defaultValue = 0;
150 double setToValueOnPairing = 0;
157 virtual std::shared_ptr<Variable> getSetToValueOnPairing();
158 virtual std::shared_ptr<Variable> getDefaultValue();
166 int32_t defaultValue = 0;
167 int32_t setToValueOnPairing = 0;
173 virtual std::shared_ptr<Variable> getSetToValueOnPairing();
174 virtual std::shared_ptr<Variable> getDefaultValue();
180 bool defaultValue =
false;
181 bool setToValueOnPairing =
false;
186 virtual std::shared_ptr<Variable> getSetToValueOnPairing();
187 virtual std::shared_ptr<Variable> getDefaultValue();
199 virtual std::shared_ptr<Variable> getSetToValueOnPairing();
200 virtual std::shared_ptr<Variable> getDefaultValue();
206 bool defaultValue =
false;
207 bool setToValueOnPairing =
false;
212 virtual std::shared_ptr<Variable> getSetToValueOnPairing();
213 virtual std::shared_ptr<Variable> getDefaultValue();
222 virtual std::shared_ptr<Variable> getSetToValueOnPairing();
223 virtual std::shared_ptr<Variable> getDefaultValue();
232 virtual std::shared_ptr<Variable> getSetToValueOnPairing();
233 virtual std::shared_ptr<Variable> getDefaultValue();
Enum
Definition: Logical.h:94
virtual ~LogicalInteger64()
Definition: Logical.h:139
std::shared_ptr< LogicalBoolean > PLogicalBoolean
Definition: Logical.h:67
virtual ~LogicalArray()
Definition: Logical.h:221
virtual ~LogicalAction()
Definition: Logical.h:211
This is the base library main class.
Definition: BaseLib.h:95
Definition: Logical.h:161
std::unordered_map< std::string, double > specialValuesStringMap
Definition: Logical.h:151
virtual ~LogicalDecimal()
Definition: Logical.h:156
int32_t id
Definition: FileDescriptorManager.h:53
std::shared_ptr< LogicalInteger > PLogicalInteger
Definition: Logical.h:70
std::string id
Definition: Logical.h:79
Definition: BaseLib.cpp:34
Definition: Logical.h:216
virtual ~LogicalInteger()
Definition: Logical.h:122
Definition: Logical.h:226
PVariable maximumValue
Definition: UiElements.h:220
Definition: Logical.h:203
std::shared_ptr< LogicalDecimal > PLogicalDecimal
Definition: Logical.h:68
std::shared_ptr< LogicalArray > PLogicalArray
Definition: Logical.h:66
virtual ~LogicalEnumeration()
Definition: Logical.h:171
virtual ~LogicalBoolean()
Definition: Logical.h:185
Definition: Logical.h:127
std::shared_ptr< LogicalInteger64 > PLogicalInteger64
Definition: Logical.h:71
Definition: Logical.h:190
std::string defaultValue
Definition: Logical.h:193
virtual ~EnumerationValue()
Definition: Logical.h:86
Definition: Logical.h:144
virtual ~LogicalString()
Definition: Logical.h:198
Definition: Logical.h:177
Definition: Logical.h:110
std::shared_ptr< LogicalAction > PLogicalAction
Definition: Logical.h:63
std::shared_ptr< LogicalStruct > PLogicalStruct
Definition: Logical.h:73
PVariable minimumValue
Definition: UiElements.h:219
std::unordered_map< int32_t, std::string > specialValuesIntegerMap
Definition: Logical.h:118
virtual ~LogicalStruct()
Definition: Logical.h:231
virtual ~ILogical()
Definition: Logical.h:99
std::shared_ptr< LogicalEnumeration > PLogicalEnumeration
Definition: Logical.h:69
std::string setToValueOnPairing
Definition: Logical.h:194
std::unordered_map< int64_t, std::string > specialValuesIntegerMap
Definition: Logical.h:135
std::unordered_map< double, std::string > specialValuesFloatMap
Definition: Logical.h:152
std::shared_ptr< LogicalString > PLogicalString
Definition: Logical.h:72
std::vector< EnumerationValue > values
Definition: Logical.h:172
std::unordered_map< std::string, int32_t > specialValuesStringMap
Definition: Logical.h:117
Class representing a node of XML document.
Definition: rapidxml.h:539
Definition: BinaryPayload.h:38
EnumerationValue()
Definition: Logical.h:83
EnumerationValue(std::string id, int32_t index)
Definition: Logical.h:84
std::unordered_map< std::string, int64_t > specialValuesStringMap
Definition: Logical.h:134