31 #ifndef PARAMETERGROUP_H_ 32 #define PARAMETERGROUP_H_ 42 namespace DeviceDescription
47 class ConfigParameters;
55 typedef std::map<uint32_t, std::vector<PParameter>>
Lists;
63 enum Enum { none = 0, config = 1, variables = 2, link = 3 };
69 virtual void parseXml(
xml_node* node);
73 int32_t memoryAddressStart = -1;
74 int32_t memoryAddressStep = -1;
86 static Type::Enum typeFromString(std::string type);
88 void getIndices(uint32_t startIndex, uint32_t endIndex, int32_t list, std::vector<PParameter>& result);
92 void parseAttributes(
xml_node* node);
103 Type::Enum
type()
const override {
return Type::Enum::config; };
113 Type::Enum
type()
const override {
return Type::Enum::variables; };
122 void parseXml(
xml_node* node)
override;
125 Type::Enum
type()
const override {
return Type::Enum::link; };
128 int32_t peerChannelMemoryOffset = -1;
129 int32_t channelMemoryOffset = -1;
130 int32_t peerAddressMemoryOffset = -1;
131 int32_t maxLinkCount = -1;
Type::Enum type() const override
Definition: ParameterGroup.h:103
Scenarios scenarios
Definition: ParameterGroup.h:79
Definition: ParameterGroup.h:106
Parameters parameters
Definition: ParameterGroup.h:77
std::string id
Definition: ParameterGroup.h:72
This is the base library main class.
Definition: BaseLib.h:95
std::shared_ptr< ConfigParameters > PConfigParameters
Definition: ParameterGroup.h:52
Type::Enum type() const override
Definition: ParameterGroup.h:113
Lists lists
Definition: ParameterGroup.h:82
Definition: BaseLib.cpp:34
std::map< std::string, PScenario > Scenarios
Definition: Scenario.h:56
std::vector< PParameter > parametersOrdered
Definition: ParameterGroup.h:78
Definition: ParameterGroup.h:116
std::shared_ptr< ParameterGroup > PParameterGroup
Definition: Parameter.h:52
Enum
Definition: ParameterGroup.h:63
Type::Enum type() const override
Definition: ParameterGroup.h:125
Definition: ParameterGroup.h:96
Definition: ParameterGroup.h:58
PParameter parameterGroupSelector
Definition: ParameterGroup.h:83
std::shared_ptr< LinkParameters > PLinkParameters
Definition: ParameterGroup.h:53
Definition: ParameterGroup.h:61
Class representing a node of XML document.
Definition: rapidxml.h:539
Definition: BinaryPayload.h:38
std::shared_ptr< Parameter > PParameter
Definition: Parameter.h:55
std::shared_ptr< Variables > PVariables
Definition: ParameterGroup.h:54
std::map< std::string, PParameter > Parameters
Definition: Parameter.h:56
std::map< uint32_t, std::vector< PParameter > > Lists
Definition: ParameterGroup.h:55