31 #ifndef DEVICETRANSLATIONS_H_    32 #define DEVICETRANSLATIONS_H_    37 #include <unordered_set>    47 namespace DeviceDescription
    66   std::unordered_map<std::string, std::unordered_map<std::string, PHomegearDeviceTranslation>> 
_deviceTranslations;
    69   std::unordered_map<std::string, PHomegearDeviceTranslation> 
getTranslations(
const std::string &filename);
 PVariable getParameterLabel(const std::string &filename, const std::string &language, ParameterGroup::Type::Enum parameterGroupType, const std::string ¶meterGroupId, const std::string ¶meterId)
Definition: DeviceTranslations.cpp:222
 
PHomegearDeviceTranslation load(const std::string &filename, const std::string &language)
Definition: DeviceTranslations.cpp:47
 
int32_t deviceId
Definition: Licensing.h:381
 
This is the base library main class. 
Definition: BaseLib.h:95
 
Definition: BaseLib.cpp:34
 
DeviceTranslations(BaseLib::SharedObjects *baseLib, int32_t family)
Definition: DeviceTranslations.cpp:38
 
std::unordered_map< std::string, std::unordered_map< std::string, PHomegearDeviceTranslation > > _deviceTranslations
Definition: DeviceTranslations.h:66
 
std::shared_ptr< Variable > PVariable
Definition: PhysicalInterfaceSettings.h:41
 
virtual ~DeviceTranslations()=default
 
PHomegearDeviceTranslation getTranslation(const std::string &filename, const std::string &language)
Definition: DeviceTranslations.cpp:123
 
Enum
Definition: ParameterGroup.h:63
 
std::shared_ptr< HomegearDeviceTranslation > PHomegearDeviceTranslation
Helper type for HomegearDeviceTranslation pointers. 
Definition: HomegearDeviceTranslation.h:53
 
PVariable getParameterDescription(const std::string &filename, const std::string &language, ParameterGroup::Type::Enum parameterGroupType, const std::string ¶meterGroupId, const std::string ¶meterId)
Definition: DeviceTranslations.cpp:279
 
std::unordered_map< std::string, PHomegearDeviceTranslation > getTranslations(const std::string &filename)
Definition: DeviceTranslations.cpp:87
 
Class to work with translations of device description files of one device family. ...
Definition: DeviceTranslations.h:53
 
void clear()
Definition: DeviceTranslations.cpp:43
 
int32_t _family
Definition: DeviceTranslations.h:64
 
PVariable getTypeDescription(const std::string &filename, const std::string &language, const std::string &deviceId)
Definition: DeviceTranslations.cpp:164
 
std::unordered_set< std::string > getLanguages()
Definition: DeviceTranslations.cpp:71
 
BaseLib::SharedObjects * _bl
Definition: DeviceTranslations.h:63
 
std::mutex _deviceTranslationsMutex
Definition: DeviceTranslations.h:65
 
PVariable getTypeLongDescription(const std::string &filename, const std::string &language, const std::string &deviceId)
Definition: DeviceTranslations.cpp:193