libhomegear-base
0.7
Base library for Homegear and Homegear family modules.
|
#include <ParameterCast.h>
Public Member Functions | |
Toggle (BaseLib::SharedObjects *baseLib) | |
Toggle (BaseLib::SharedObjects *baseLib, xml_node *node, const PParameter ¶meter) | |
~Toggle () override=default | |
void | fromPacket (PVariable &value) override |
void | toPacket (PVariable &value) override |
Public Member Functions inherited from BaseLib::DeviceDescription::ParameterCast::ICast | |
ICast (BaseLib::SharedObjects *baseLib) | |
ICast (BaseLib::SharedObjects *baseLib, xml_node *node, const PParameter ¶meter) | |
virtual | ~ICast ()=default |
virtual bool | needsBinaryPacketData () |
Public Attributes | |
std::string | parameter |
int32_t | on = 200 |
int32_t | off = 0 |
Additional Inherited Members | |
Protected Attributes inherited from BaseLib::DeviceDescription::ParameterCast::ICast | |
BaseLib::SharedObjects * | _bl = nullptr |
const std::weak_ptr< Parameter > | _parameter |
|
explicit |
|
explicit |
|
overridedefault |
|
overridevirtual |
Reimplemented from BaseLib::DeviceDescription::ParameterCast::ICast.
|
overridevirtual |
Reimplemented from BaseLib::DeviceDescription::ParameterCast::ICast.
int32_t BaseLib::DeviceDescription::ParameterCast::Toggle::off = 0 |
int32_t BaseLib::DeviceDescription::ParameterCast::Toggle::on = 200 |
std::string BaseLib::DeviceDescription::ParameterCast::Toggle::parameter |