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

#include <HmLogicalParameter.h>

Inheritance diagram for BaseLib::HmDeviceDescription::LogicalParameterFloat:
BaseLib::HmDeviceDescription::LogicalParameter

Public Member Functions

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

double min = 1.175494351e-38f
 
double max = 3.40282347e+38f
 
double defaultValue = 0
 
double enforceValue = 0
 
std::unordered_map< std::string, double > 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

§ LogicalParameterFloat() [1/2]

BaseLib::HmDeviceDescription::LogicalParameterFloat::LogicalParameterFloat ( BaseLib::SharedObjects baseLib)

§ LogicalParameterFloat() [2/2]

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

§ ~LogicalParameterFloat()

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

Member Function Documentation

§ getDefaultValue()

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

§ getEnforceValue()

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

Member Data Documentation

§ defaultValue

double BaseLib::HmDeviceDescription::LogicalParameterFloat::defaultValue = 0

§ enforceValue

double BaseLib::HmDeviceDescription::LogicalParameterFloat::enforceValue = 0

§ max

double BaseLib::HmDeviceDescription::LogicalParameterFloat::max = 3.40282347e+38f

§ min

double BaseLib::HmDeviceDescription::LogicalParameterFloat::min = 1.175494351e-38f

§ specialValues

std::unordered_map<std::string, double> BaseLib::HmDeviceDescription::LogicalParameterFloat::specialValues

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