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

#include <Logical.h>

Inheritance diagram for BaseLib::DeviceDescription::LogicalDecimal:
BaseLib::DeviceDescription::ILogical

Public Member Functions

 LogicalDecimal (BaseLib::SharedObjects *baseLib)
 
 LogicalDecimal (BaseLib::SharedObjects *baseLib, xml_node *node)
 
virtual ~LogicalDecimal ()
 
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

double minimumValue = -3.40282347e+38f
 
double maximumValue = 3.40282347e+38f
 
double defaultValue = 0
 
double setToValueOnPairing = 0
 
std::unordered_map< std::string, double > specialValuesStringMap
 
std::unordered_map< double, std::string > specialValuesFloatMap
 
- 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

§ LogicalDecimal() [1/2]

BaseLib::DeviceDescription::LogicalDecimal::LogicalDecimal ( BaseLib::SharedObjects baseLib)

§ LogicalDecimal() [2/2]

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

§ ~LogicalDecimal()

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

Member Function Documentation

§ getDefaultValue()

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

§ getSetToValueOnPairing()

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

Member Data Documentation

§ defaultValue

double BaseLib::DeviceDescription::LogicalDecimal::defaultValue = 0

§ maximumValue

double BaseLib::DeviceDescription::LogicalDecimal::maximumValue = 3.40282347e+38f

§ minimumValue

double BaseLib::DeviceDescription::LogicalDecimal::minimumValue = -3.40282347e+38f

§ setToValueOnPairing

double BaseLib::DeviceDescription::LogicalDecimal::setToValueOnPairing = 0

§ specialValuesFloatMap

std::unordered_map<double, std::string> BaseLib::DeviceDescription::LogicalDecimal::specialValuesFloatMap

§ specialValuesStringMap

std::unordered_map<std::string, double> BaseLib::DeviceDescription::LogicalDecimal::specialValuesStringMap

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