TwiceAsNice  2019-02-18
Public Member Functions | List of all members
basda::gentec::TestablePlinkPowerMeterDevice Class Reference

#include <PlinkPowerMeterDeviceFixture.hpp>

Inheritance diagram for basda::gentec::TestablePlinkPowerMeterDevice:
Inheritance graph
Collaboration diagram for basda::gentec::TestablePlinkPowerMeterDevice:
Collaboration graph

Public Member Functions

 TestablePlinkPowerMeterDevice (const Nice::JointPtr &config)
 
void replacePlinkPowerMeterFactoryWith (PlinkPowerMeterFactoryPtr factory)
 
 TestablePlinkPowerMeterDevice (const Nice::JointPtr &config)
 
void replacePlinkPowerMeterFactoryWith (PlinkPowerMeterFactoryPtr factory)
 
- Public Member Functions inherited from basda::PlinkPowerMeterDevice
 PlinkPowerMeterDevice (const Nice::JointPtr &_config)
 
virtual ~PlinkPowerMeterDevice ()
 
virtual void open ()
 
virtual void close ()
 
virtual void reset (Basda::DeviceAsync &)
 
virtual void version ()
 
virtual void init (Basda::DeviceAsync &)
 
virtual void deinit (Basda::DeviceAsync &)
 
virtual void activate (Basda::DeviceAsync &)
 
virtual void deactivate (Basda::DeviceAsync &)
 
virtual void measure ()
 
virtual Basda::PowerPtr getMeasuredPower ()
 
virtual bool isReachable ()
 
virtual void checkReachability ()
 
 PlinkPowerMeterDevice (const Nice::JointPtr &_config)
 
virtual ~PlinkPowerMeterDevice ()
 
virtual void open ()
 
virtual void close ()
 
virtual void reset (Basda::DeviceAsync &)
 
virtual void version ()
 
virtual void init (Basda::DeviceAsync &)
 
virtual void deinit (Basda::DeviceAsync &)
 
virtual void activate (Basda::DeviceAsync &)
 
virtual void deactivate (Basda::DeviceAsync &)
 
virtual void measure ()
 
virtual Basda::PowerPtr getMeasuredPower ()
 
virtual bool isReachable ()
 
virtual void checkReachability ()
 
- Public Member Functions inherited from Basda::PowerMeterDevice
 PowerMeterDevice (const Nice::JointPtr &_config)
 
virtual ~PowerMeterDevice ()
 
 PowerMeterDevice (const Nice::JointPtr &_config)
 
virtual ~PowerMeterDevice ()
 
 PowerMeterDevice (const Nice::JointPtr &_config)
 
virtual ~PowerMeterDevice ()
 
- Public Member Functions inherited from Basda::Device
 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::JointPtrconfig ()
 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::JointPtrconfig ()
 retrieve the property tree More...
 
std::string & name ()
 retrieve the name set at ctor time. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from basda::PlinkPowerMeterDevice
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 Public Attributes inherited from Basda::Device
static DeviceAsyncImpl s_async
 
- Protected Member Functions inherited from basda::PlinkPowerMeterDevice
void injectPlinkPowerMeterFactory (basda::gentec::PlinkPowerMeterFactoryPtr factory)
 
void injectPlinkPowerMeterFactory (basda::gentec::PlinkPowerMeterFactoryPtr factory)
 
- Protected Attributes inherited from Basda::Device
Nice::JointPtr m_config
 
Nice::JointPtr m_cfg
 
Nice::JointPtr m_var
 
std::string m_name
 

Constructor & Destructor Documentation

◆ TestablePlinkPowerMeterDevice() [1/2]

basda::gentec::TestablePlinkPowerMeterDevice::TestablePlinkPowerMeterDevice ( const Nice::JointPtr config)
inline

◆ TestablePlinkPowerMeterDevice() [2/2]

basda::gentec::TestablePlinkPowerMeterDevice::TestablePlinkPowerMeterDevice ( const Nice::JointPtr config)
inline

Member Function Documentation

◆ replacePlinkPowerMeterFactoryWith() [1/2]

void basda::gentec::TestablePlinkPowerMeterDevice::replacePlinkPowerMeterFactoryWith ( PlinkPowerMeterFactoryPtr  factory)
inline

◆ replacePlinkPowerMeterFactoryWith() [2/2]

void basda::gentec::TestablePlinkPowerMeterDevice::replacePlinkPowerMeterFactoryWith ( PlinkPowerMeterFactoryPtr  factory)
inline

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