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

This class converts HomeMatic device description files to Homegear's device description format. More...

#include <HmConverter.h>

Public Member Functions

 HmConverter (BaseLib::SharedObjects *baseLib)
 
virtual ~HmConverter ()
 
void convert (std::shared_ptr< Device > homematicDevice, std::shared_ptr< HomegearDevice > homegearDevice)
 

Protected Member Functions

void convertChannel (std::shared_ptr< DeviceChannel > homematicChannel, PFunction function)
 
void convertParameter (std::shared_ptr< HomeMaticParameter > homematicParameter, PParameter parameter)
 
void convertPacket (std::shared_ptr< DeviceFrame > homematicFrame, PPacket packet)
 

Protected Attributes

BaseLib::SharedObjects_bl = nullptr
 

Detailed Description

This class converts HomeMatic device description files to Homegear's device description format.

Constructor & Destructor Documentation

§ HmConverter()

BaseLib::HmDeviceDescription::HmConverter::HmConverter ( BaseLib::SharedObjects baseLib)

§ ~HmConverter()

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

Member Function Documentation

§ convert()

void BaseLib::HmDeviceDescription::HmConverter::convert ( std::shared_ptr< Device homematicDevice,
std::shared_ptr< HomegearDevice homegearDevice 
)

§ convertChannel()

void BaseLib::HmDeviceDescription::HmConverter::convertChannel ( std::shared_ptr< DeviceChannel homematicChannel,
PFunction  function 
)
protected

§ convertPacket()

void BaseLib::HmDeviceDescription::HmConverter::convertPacket ( std::shared_ptr< DeviceFrame homematicFrame,
PPacket  packet 
)
protected

§ convertParameter()

void BaseLib::HmDeviceDescription::HmConverter::convertParameter ( std::shared_ptr< HomeMaticParameter homematicParameter,
PParameter  parameter 
)
protected

Member Data Documentation

§ _bl

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

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