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

#include <Logical.h>

Inheritance diagram for BaseLib::DeviceDescription::LogicalInteger:
BaseLib::DeviceDescription::ILogical

Public Member Functions

 LogicalInteger (BaseLib::SharedObjects *baseLib)
 
 LogicalInteger (BaseLib::SharedObjects *baseLib, xml_node *node)
 
virtual ~LogicalInteger ()
 
virtual std::shared_ptr< VariablegetSetToValueOnPairing ()
 
virtual std::shared_ptr< VariablegetDefaultValue ()
 
- Public Member Functions inherited from BaseLib::DeviceDescription::ILogical
 ILogical (BaseLib::SharedObjects *baseLib)
 
 ILogical (BaseLib::SharedObjects *baseLib, xml_node *node)
 
virtual ~ILogical ()
 

Public Attributes

int32_t minimumValue = -2147483648
 
int32_t maximumValue = 2147483647
 
int32_t defaultValue = 0
 
int32_t setToValueOnPairing = 0
 
std::unordered_map< std::string, int32_t > specialValuesStringMap
 
std::unordered_map< int32_t, std::string > specialValuesIntegerMap
 
- Public Attributes inherited from BaseLib::DeviceDescription::ILogical
Type::Enum type = Type::none
 
bool defaultValueExists = false
 
bool setToValueOnPairingExists = false
 

Additional Inherited Members

- Protected Attributes inherited from BaseLib::DeviceDescription::ILogical
BaseLib::SharedObjects_bl = nullptr
 

Constructor & Destructor Documentation

§ LogicalInteger() [1/2]

BaseLib::DeviceDescription::LogicalInteger::LogicalInteger ( BaseLib::SharedObjects baseLib)

§ LogicalInteger() [2/2]

BaseLib::DeviceDescription::LogicalInteger::LogicalInteger ( BaseLib::SharedObjects baseLib,
xml_node node 
)

§ ~LogicalInteger()

virtual BaseLib::DeviceDescription::LogicalInteger::~LogicalInteger ( )
inlinevirtual

Member Function Documentation

§ getDefaultValue()

std::shared_ptr< Variable > BaseLib::DeviceDescription::LogicalInteger::getDefaultValue ( )
virtual

§ getSetToValueOnPairing()

std::shared_ptr< Variable > BaseLib::DeviceDescription::LogicalInteger::getSetToValueOnPairing ( )
virtual

Member Data Documentation

§ defaultValue

int32_t BaseLib::DeviceDescription::LogicalInteger::defaultValue = 0

§ maximumValue

int32_t BaseLib::DeviceDescription::LogicalInteger::maximumValue = 2147483647

§ minimumValue

int32_t BaseLib::DeviceDescription::LogicalInteger::minimumValue = -2147483648

§ setToValueOnPairing

int32_t BaseLib::DeviceDescription::LogicalInteger::setToValueOnPairing = 0

§ specialValuesIntegerMap

std::unordered_map<int32_t, std::string> BaseLib::DeviceDescription::LogicalInteger::specialValuesIntegerMap

§ specialValuesStringMap

std::unordered_map<std::string, int32_t> BaseLib::DeviceDescription::LogicalInteger::specialValuesStringMap

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