TwiceAsNice
2019-02-18
|
This basda devices is a fake of a PlinkPowerMeterDevice. More...
#include <PlinkPowerMeterDeviceFake.hpp>
Public Member Functions | |
PlinkPowerMeterDeviceFake (const Nice::JointPtr &config) | |
virtual | ~PlinkPowerMeterDeviceFake () |
virtual void | open () |
virtual void | measure () |
virtual Basda::PowerPtr | getMeasuredPower () |
virtual void | reset (Basda::DeviceAsync &) |
virtual void | close () |
virtual bool | isReachable () |
virtual void | checkReachability () |
PlinkPowerMeterDeviceFake (const Nice::JointPtr &config) | |
virtual | ~PlinkPowerMeterDeviceFake () |
virtual void | open () |
virtual void | measure () |
virtual Basda::PowerPtr | getMeasuredPower () |
virtual void | reset (Basda::DeviceAsync &) |
virtual void | close () |
virtual bool | isReachable () |
virtual void | checkReachability () |
![]() | |
PlinkPowerMeterDevice (const Nice::JointPtr &_config) | |
virtual | ~PlinkPowerMeterDevice () |
virtual void | version () |
virtual void | init (Basda::DeviceAsync &) |
virtual void | deinit (Basda::DeviceAsync &) |
virtual void | activate (Basda::DeviceAsync &) |
virtual void | deactivate (Basda::DeviceAsync &) |
PlinkPowerMeterDevice (const Nice::JointPtr &_config) | |
virtual | ~PlinkPowerMeterDevice () |
virtual void | version () |
virtual void | init (Basda::DeviceAsync &) |
virtual void | deinit (Basda::DeviceAsync &) |
virtual void | activate (Basda::DeviceAsync &) |
virtual void | deactivate (Basda::DeviceAsync &) |
![]() | |
PowerMeterDevice (const Nice::JointPtr &_config) | |
virtual | ~PowerMeterDevice () |
PowerMeterDevice (const Nice::JointPtr &_config) | |
virtual | ~PowerMeterDevice () |
PowerMeterDevice (const Nice::JointPtr &_config) | |
virtual | ~PowerMeterDevice () |
![]() | |
Device (const Nice::JointPtr &_config) | |
constructor. This is an elementary (lazy) action which stores the name and gets configuration. More... | |
virtual | ~Device () |
destructor Does nothing More... | |
virtual void | setConfig (const Nice::JointPtr &_config) |
init with config tree ptr More... | |
Nice::JointPtr & | config () |
retrieve the property tree More... | |
std::string & | name () |
retrieve the name set at ctor time. More... | |
Device (const Nice::JointPtr &_config) | |
constructor. This is an elementary (lazy) action which stores the name and gets configuration. More... | |
virtual | ~Device () |
destructor Does nothing More... | |
virtual void | setConfig (const Nice::JointPtr &_config) |
init with config tree ptr More... | |
Nice::JointPtr & | config () |
retrieve the property tree More... | |
std::string & | name () |
retrieve the name set at ctor time. More... | |
Additional Inherited Members | |
![]() | |
static std::string | getPropertyNameForMeasuredPowerInWatt () |
static std::string | getPowerValidityAttributeName () |
static std::string | getPropertyNameForReachable () |
static std::string | getPowerAsTextAttributeName () |
static std::string | getPropertyNameForMeasuredPowerInWatt () |
static std::string | getPowerValidityAttributeName () |
static std::string | getPropertyNameForReachable () |
static std::string | getPowerAsTextAttributeName () |
![]() | |
static DeviceAsyncImpl | s_async |
![]() | |
void | injectPlinkPowerMeterFactory (basda::gentec::PlinkPowerMeterFactoryPtr factory) |
void | injectPlinkPowerMeterFactory (basda::gentec::PlinkPowerMeterFactoryPtr factory) |
![]() | |
Nice::JointPtr | m_config |
Nice::JointPtr | m_cfg |
Nice::JointPtr | m_var |
std::string | m_name |
This basda devices is a fake of a PlinkPowerMeterDevice.
|
explicit |
|
virtual |
|
explicit |
|
virtual |
|
virtual |
Reimplemented from basda::PlinkPowerMeterDevice.
|
virtual |
Reimplemented from basda::PlinkPowerMeterDevice.
|
virtual |
Reimplemented from basda::PlinkPowerMeterDevice.
|
virtual |
Reimplemented from basda::PlinkPowerMeterDevice.
|
virtual |
Reimplemented from basda::PlinkPowerMeterDevice.
|
virtual |
Reimplemented from basda::PlinkPowerMeterDevice.
|
virtual |
Reimplemented from basda::PlinkPowerMeterDevice.
|
virtual |
Reimplemented from basda::PlinkPowerMeterDevice.
|
virtual |
Reimplemented from basda::PlinkPowerMeterDevice.
|
virtual |
Reimplemented from basda::PlinkPowerMeterDevice.
|
virtual |
Reimplemented from basda::PlinkPowerMeterDevice.
|
virtual |
Reimplemented from basda::PlinkPowerMeterDevice.
|
virtual |
Reimplemented from basda::PlinkPowerMeterDevice.
|
virtual |
Reimplemented from basda::PlinkPowerMeterDevice.