libhomegear-base  0.7
Base library for Homegear and Homegear family modules.
BaseLib::HmDeviceDescription::LogicalParameterInteger Class Reference

#include <HmLogicalParameter.h>

Inheritance diagram for BaseLib::HmDeviceDescription::LogicalParameterInteger:
BaseLib::HmDeviceDescription::LogicalParameter

Public Member Functions

 LogicalParameterInteger (BaseLib::SharedObjects *baseLib)
 
 LogicalParameterInteger (BaseLib::SharedObjects *baseLib, xml_node *node)
 
virtual ~LogicalParameterInteger ()
 
virtual std::shared_ptr< VariablegetEnforceValue ()
 
virtual std::shared_ptr< VariablegetDefaultValue ()
 
- Public Member Functions inherited from BaseLib::HmDeviceDescription::LogicalParameter
 LogicalParameter (BaseLib::SharedObjects *baseLib)
 
virtual ~LogicalParameter ()
 

Public Attributes

int32_t min = -2147483648
 
int32_t max = 2147483647
 
int32_t defaultValue = 0
 
int32_t enforceValue = 0
 
std::unordered_map< std::string, int32_t > specialValues
 
- Public Attributes inherited from BaseLib::HmDeviceDescription::LogicalParameter
std::string unit
 
bool defaultValueExists = false
 
bool enforce = false
 
Type::Enum type = Type::none
 

Additional Inherited Members

- Static Public Member Functions inherited from BaseLib::HmDeviceDescription::LogicalParameter
static std::shared_ptr< LogicalParameterfromXML (BaseLib::SharedObjects *baseLib, xml_node *node)
 
- Protected Attributes inherited from BaseLib::HmDeviceDescription::LogicalParameter
BaseLib::SharedObjects_bl
 

Constructor & Destructor Documentation

§ LogicalParameterInteger() [1/2]

BaseLib::HmDeviceDescription::LogicalParameterInteger::LogicalParameterInteger ( BaseLib::SharedObjects baseLib)

§ LogicalParameterInteger() [2/2]

BaseLib::HmDeviceDescription::LogicalParameterInteger::LogicalParameterInteger ( BaseLib::SharedObjects baseLib,
xml_node node 
)

§ ~LogicalParameterInteger()

virtual BaseLib::HmDeviceDescription::LogicalParameterInteger::~LogicalParameterInteger ( )
inlinevirtual

Member Function Documentation

§ getDefaultValue()

std::shared_ptr< Variable > BaseLib::HmDeviceDescription::LogicalParameterInteger::getDefaultValue ( )
virtual

§ getEnforceValue()

std::shared_ptr< Variable > BaseLib::HmDeviceDescription::LogicalParameterInteger::getEnforceValue ( )
virtual

Member Data Documentation

§ defaultValue

int32_t BaseLib::HmDeviceDescription::LogicalParameterInteger::defaultValue = 0

§ enforceValue

int32_t BaseLib::HmDeviceDescription::LogicalParameterInteger::enforceValue = 0

§ max

int32_t BaseLib::HmDeviceDescription::LogicalParameterInteger::max = 2147483647

§ min

int32_t BaseLib::HmDeviceDescription::LogicalParameterInteger::min = -2147483648

§ specialValues

std::unordered_map<std::string, int32_t> BaseLib::HmDeviceDescription::LogicalParameterInteger::specialValues

The documentation for this class was generated from the following files: