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

#include <HmDevice.h>

Classes

struct  Type
 

Public Member Functions

 ParameterSet (BaseLib::SharedObjects *baseLib)
 
 ParameterSet (BaseLib::SharedObjects *baseLib, xml_node *parameterSetNode)
 
virtual ~ParameterSet ()
 
virtual void init (xml_node *parameterSetNode)
 
virtual std::vector< std::shared_ptr< HomeMaticParameter > > getIndices (uint32_t startIndex, uint32_t endIndex, int32_t list)
 
virtual std::vector< std::shared_ptr< HomeMaticParameter > > getList (int32_t list)
 
virtual std::shared_ptr< HomeMaticParametergetIndex (double index)
 
virtual std::shared_ptr< HomeMaticParametergetParameter (std::string id)
 
virtual std::string typeString ()
 

Static Public Member Functions

static ParameterSet::Type::Enum typeFromString (std::string type)
 

Public Attributes

Type::Enum type = Type::Enum::none
 
std::string id
 
std::vector< std::shared_ptr< HomeMaticParameter > > parameters
 
std::map< std::string, DefaultValuedefaultValues
 
std::map< uint32_t, uint32_t > lists
 
std::string subsetReference
 
int32_t addressStart = -1
 
int32_t addressStep = -1
 
int32_t count = -1
 
std::string peerParam
 
std::string channelParam
 
int32_t channelOffset = -1
 
int32_t peerAddressOffset = -1
 
int32_t peerChannelOffset = -1
 

Protected Attributes

BaseLib::SharedObjects_bl = nullptr
 

Constructor & Destructor Documentation

§ ParameterSet() [1/2]

BaseLib::HmDeviceDescription::ParameterSet::ParameterSet ( BaseLib::SharedObjects baseLib)

§ ParameterSet() [2/2]

BaseLib::HmDeviceDescription::ParameterSet::ParameterSet ( BaseLib::SharedObjects baseLib,
xml_node parameterSetNode 
)

§ ~ParameterSet()

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

Member Function Documentation

§ getIndex()

std::shared_ptr< HomeMaticParameter > BaseLib::HmDeviceDescription::ParameterSet::getIndex ( double  index)
virtual

§ getIndices()

std::vector< std::shared_ptr< HomeMaticParameter > > BaseLib::HmDeviceDescription::ParameterSet::getIndices ( uint32_t  startIndex,
uint32_t  endIndex,
int32_t  list 
)
virtual

§ getList()

std::vector< std::shared_ptr< HomeMaticParameter > > BaseLib::HmDeviceDescription::ParameterSet::getList ( int32_t  list)
virtual

§ getParameter()

std::shared_ptr< HomeMaticParameter > BaseLib::HmDeviceDescription::ParameterSet::getParameter ( std::string  id)
virtual

§ init()

void BaseLib::HmDeviceDescription::ParameterSet::init ( xml_node parameterSetNode)
virtual

§ typeFromString()

ParameterSet::Type::Enum BaseLib::HmDeviceDescription::ParameterSet::typeFromString ( std::string  type)
static

§ typeString()

std::string BaseLib::HmDeviceDescription::ParameterSet::typeString ( )
virtual

Member Data Documentation

§ _bl

BaseLib::SharedObjects* BaseLib::HmDeviceDescription::ParameterSet::_bl = nullptr
protected

§ addressStart

int32_t BaseLib::HmDeviceDescription::ParameterSet::addressStart = -1

§ addressStep

int32_t BaseLib::HmDeviceDescription::ParameterSet::addressStep = -1

§ channelOffset

int32_t BaseLib::HmDeviceDescription::ParameterSet::channelOffset = -1

§ channelParam

std::string BaseLib::HmDeviceDescription::ParameterSet::channelParam

§ count

int32_t BaseLib::HmDeviceDescription::ParameterSet::count = -1

§ defaultValues

std::map<std::string, DefaultValue> BaseLib::HmDeviceDescription::ParameterSet::defaultValues

§ id

std::string BaseLib::HmDeviceDescription::ParameterSet::id

§ lists

std::map<uint32_t, uint32_t> BaseLib::HmDeviceDescription::ParameterSet::lists

§ parameters

std::vector<std::shared_ptr<HomeMaticParameter> > BaseLib::HmDeviceDescription::ParameterSet::parameters

§ peerAddressOffset

int32_t BaseLib::HmDeviceDescription::ParameterSet::peerAddressOffset = -1

§ peerChannelOffset

int32_t BaseLib::HmDeviceDescription::ParameterSet::peerChannelOffset = -1

§ peerParam

std::string BaseLib::HmDeviceDescription::ParameterSet::peerParam

§ subsetReference

std::string BaseLib::HmDeviceDescription::ParameterSet::subsetReference

§ type

Type::Enum BaseLib::HmDeviceDescription::ParameterSet::type = Type::Enum::none

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