35 #include "../../Variable.h" 45 namespace DeviceDescription {
91 std::unordered_map<std::string, std::unordered_map<std::string, PHomegearUiElement>>
_uiInfo;
93 void load(
const std::string &language);
void clear()
Definition: UiElements.cpp:42
PVariable getUiElements(const std::string &language)
Definition: UiElements.cpp:213
This is the base library main class.
Definition: BaseLib.h:95
Definition: BaseLib.cpp:34
UiElements(BaseLib::SharedObjects *baseLib)
Definition: UiElements.cpp:38
virtual ~UiElements()=default
PVariable minimumValueScaled
Definition: UiElements.h:60
std::vector< std::vector< PUiVariableInfo > > outputPeers
Definition: UiElements.h:68
PVariable maximumValue
Definition: UiElements.h:59
std::vector< std::vector< PUiVariableInfo > > inputPeers
Definition: UiElements.h:67
std::shared_ptr< UiVariableInfo > PUiVariableInfo
Definition: UiElements.h:64
PVariable rendering
Definition: UiElements.h:62
std::unordered_map< std::string, std::unordered_map< std::string, PHomegearUiElement > > _uiInfo
Definition: UiElements.h:91
PVariable maximumValueScaled
Definition: UiElements.h:61
std::shared_ptr< Variable > PVariable
Definition: PhysicalInterfaceSettings.h:41
std::shared_ptr< UiPeerInfo > PUiPeerInfo
Definition: UiElements.h:70
std::mutex _uiInfoMutex
Definition: UiElements.h:90
BaseLib::SharedObjects * _bl
Definition: UiElements.h:89
std::string unit
Definition: UiElements.h:57
std::string name
Definition: UiElements.h:55
Definition: UiElements.h:52
uint64_t peerId
Definition: UiElements.h:53
Class holding information on how UI elements look like.
Definition: UiElements.h:50
PHomegearUiElement getUiElement(const std::string &language, const std::string &id)
Definition: UiElements.cpp:103
PVariable value
Definition: UiElements.h:56
struct BaseLib::DeviceDescription::UiElements::UiVariableInfo __attribute__((aligned(128)))
void load(const std::string &language)
Definition: UiElements.cpp:47
std::shared_ptr< HomegearUiElement > PHomegearUiElement
Helper type for Packet pointers.
Definition: HomegearUiElement.h:53
PVariable minimumValue
Definition: UiElements.h:58
int32_t channel
Definition: UiElements.h:54