TwiceAsNice  2019-02-18
Public Member Functions | Private Attributes | List of all members
mpia::PowerMeterDeviceFake Class Reference
Inheritance diagram for mpia::PowerMeterDeviceFake:
Inheritance graph
Collaboration diagram for mpia::PowerMeterDeviceFake:
Collaboration graph

Public Member Functions

 PowerMeterDeviceFake (const Nice::JointPtr &_config)
 
virtual void measure ()
 
unsigned getInvocationCount_measure ()
 
virtual PowerPtr getMeasuredPower ()
 
virtual bool isReachable ()
 
virtual void checkReachability ()
 
unsigned getInvocationCount_checkReachability ()
 
virtual void open ()
 
unsigned getInvocationCount_open ()
 
virtual void close ()
 
unsigned getInvocationCount_close ()
 
virtual void reset (DeviceAsync &=s_async)
 
unsigned getInvocationCount_reset ()
 
virtual void version ()
 
virtual void init (DeviceAsync &)
 
unsigned getInvocationCount_init ()
 
virtual void deinit (DeviceAsync &)
 
unsigned getInvocationCount_deinit ()
 
virtual void activate (DeviceAsync &)
 
unsigned getInvocationCount_activate ()
 
virtual void deactivate (DeviceAsync &)
 
unsigned getInvocationCount_deactivate ()
 
 PowerMeterDeviceFake (const Nice::JointPtr &_config)
 
virtual void measure ()
 
unsigned getInvocationCount_measure ()
 
virtual PowerPtr getMeasuredPower ()
 
virtual bool isReachable ()
 
virtual void checkReachability ()
 
unsigned getInvocationCount_checkReachability ()
 
virtual void open ()
 
unsigned getInvocationCount_open ()
 
virtual void close ()
 
unsigned getInvocationCount_close ()
 
virtual void reset (DeviceAsync &=s_async)
 
unsigned getInvocationCount_reset ()
 
virtual void version ()
 
virtual void init (DeviceAsync &)
 
unsigned getInvocationCount_init ()
 
virtual void deinit (DeviceAsync &)
 
unsigned getInvocationCount_deinit ()
 
virtual void activate (DeviceAsync &)
 
unsigned getInvocationCount_activate ()
 
virtual void deactivate (DeviceAsync &)
 
unsigned getInvocationCount_deactivate ()
 
- 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...
 

Private Attributes

unsigned invocationCount_init_
 
unsigned invocationCount_open_
 
unsigned invocationCount_reset_
 
unsigned invocationCount_deinit_
 
unsigned invocationCount_close_
 
unsigned invocationCount_activate_
 
unsigned invocationCount_deactivate_
 
unsigned invocationCount_measure_
 
unsigned invocationCount_checkReachability_
 

Additional Inherited Members

- Static Public Attributes inherited from Basda::Device
static DeviceAsyncImpl s_async
 
- 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

◆ PowerMeterDeviceFake() [1/2]

mpia::PowerMeterDeviceFake::PowerMeterDeviceFake ( const Nice::JointPtr _config)
inline

◆ PowerMeterDeviceFake() [2/2]

mpia::PowerMeterDeviceFake::PowerMeterDeviceFake ( const Nice::JointPtr _config)
inline

Member Function Documentation

◆ activate() [1/2]

virtual void mpia::PowerMeterDeviceFake::activate ( DeviceAsync )
inlinevirtual
Note
overridden

Implements Basda::Device.

◆ activate() [2/2]

virtual void mpia::PowerMeterDeviceFake::activate ( DeviceAsync )
inlinevirtual
Note
overridden

Implements Basda::Device.

◆ checkReachability() [1/2]

virtual void mpia::PowerMeterDeviceFake::checkReachability ( )
inlinevirtual
Note
overridden

Implements Basda::PowerMeterDevice.

◆ checkReachability() [2/2]

virtual void mpia::PowerMeterDeviceFake::checkReachability ( )
inlinevirtual
Note
overridden

Implements Basda::PowerMeterDevice.

◆ close() [1/2]

virtual void mpia::PowerMeterDeviceFake::close ( void  )
inlinevirtual
Note
overridden

Implements Basda::Device.

◆ close() [2/2]

virtual void mpia::PowerMeterDeviceFake::close ( void  )
inlinevirtual
Note
overridden

Implements Basda::Device.

◆ deactivate() [1/2]

virtual void mpia::PowerMeterDeviceFake::deactivate ( DeviceAsync )
inlinevirtual
Note
overridden

Implements Basda::Device.

◆ deactivate() [2/2]

virtual void mpia::PowerMeterDeviceFake::deactivate ( DeviceAsync )
inlinevirtual
Note
overridden

Implements Basda::Device.

◆ deinit() [1/2]

virtual void mpia::PowerMeterDeviceFake::deinit ( DeviceAsync )
inlinevirtual
Note
overridden

Implements Basda::Device.

◆ deinit() [2/2]

virtual void mpia::PowerMeterDeviceFake::deinit ( DeviceAsync )
inlinevirtual
Note
overridden

Implements Basda::Device.

◆ getInvocationCount_activate() [1/2]

unsigned mpia::PowerMeterDeviceFake::getInvocationCount_activate ( )
inline

◆ getInvocationCount_activate() [2/2]

unsigned mpia::PowerMeterDeviceFake::getInvocationCount_activate ( )
inline

◆ getInvocationCount_checkReachability() [1/2]

unsigned mpia::PowerMeterDeviceFake::getInvocationCount_checkReachability ( )
inline

◆ getInvocationCount_checkReachability() [2/2]

unsigned mpia::PowerMeterDeviceFake::getInvocationCount_checkReachability ( )
inline

◆ getInvocationCount_close() [1/2]

unsigned mpia::PowerMeterDeviceFake::getInvocationCount_close ( )
inline

◆ getInvocationCount_close() [2/2]

unsigned mpia::PowerMeterDeviceFake::getInvocationCount_close ( )
inline

◆ getInvocationCount_deactivate() [1/2]

unsigned mpia::PowerMeterDeviceFake::getInvocationCount_deactivate ( )
inline

◆ getInvocationCount_deactivate() [2/2]

unsigned mpia::PowerMeterDeviceFake::getInvocationCount_deactivate ( )
inline

◆ getInvocationCount_deinit() [1/2]

unsigned mpia::PowerMeterDeviceFake::getInvocationCount_deinit ( )
inline

◆ getInvocationCount_deinit() [2/2]

unsigned mpia::PowerMeterDeviceFake::getInvocationCount_deinit ( )
inline

◆ getInvocationCount_init() [1/2]

unsigned mpia::PowerMeterDeviceFake::getInvocationCount_init ( )
inline

◆ getInvocationCount_init() [2/2]

unsigned mpia::PowerMeterDeviceFake::getInvocationCount_init ( )
inline

◆ getInvocationCount_measure() [1/2]

unsigned mpia::PowerMeterDeviceFake::getInvocationCount_measure ( )
inline

◆ getInvocationCount_measure() [2/2]

unsigned mpia::PowerMeterDeviceFake::getInvocationCount_measure ( )
inline

◆ getInvocationCount_open() [1/2]

unsigned mpia::PowerMeterDeviceFake::getInvocationCount_open ( )
inline

◆ getInvocationCount_open() [2/2]

unsigned mpia::PowerMeterDeviceFake::getInvocationCount_open ( )
inline

◆ getInvocationCount_reset() [1/2]

unsigned mpia::PowerMeterDeviceFake::getInvocationCount_reset ( )
inline

◆ getInvocationCount_reset() [2/2]

unsigned mpia::PowerMeterDeviceFake::getInvocationCount_reset ( )
inline

◆ getMeasuredPower() [1/2]

virtual PowerPtr mpia::PowerMeterDeviceFake::getMeasuredPower ( )
inlinevirtual
Note
overridden

Implements Basda::PowerMeterDevice.

◆ getMeasuredPower() [2/2]

virtual PowerPtr mpia::PowerMeterDeviceFake::getMeasuredPower ( )
inlinevirtual
Note
overridden

Implements Basda::PowerMeterDevice.

◆ init() [1/2]

virtual void mpia::PowerMeterDeviceFake::init ( DeviceAsync )
inlinevirtual
Note
overridden

Implements Basda::Device.

◆ init() [2/2]

virtual void mpia::PowerMeterDeviceFake::init ( DeviceAsync )
inlinevirtual
Note
overridden

Implements Basda::Device.

◆ isReachable() [1/2]

virtual bool mpia::PowerMeterDeviceFake::isReachable ( )
inlinevirtual
Note
overridden

Implements Basda::PowerMeterDevice.

◆ isReachable() [2/2]

virtual bool mpia::PowerMeterDeviceFake::isReachable ( )
inlinevirtual
Note
overridden

Implements Basda::PowerMeterDevice.

◆ measure() [1/2]

virtual void mpia::PowerMeterDeviceFake::measure ( )
inlinevirtual
Note
overridden

Implements Basda::PowerMeterDevice.

◆ measure() [2/2]

virtual void mpia::PowerMeterDeviceFake::measure ( )
inlinevirtual
Note
overridden

Implements Basda::PowerMeterDevice.

◆ open() [1/2]

virtual void mpia::PowerMeterDeviceFake::open ( void  )
inlinevirtual
Note
overridden

Implements Basda::Device.

◆ open() [2/2]

virtual void mpia::PowerMeterDeviceFake::open ( void  )
inlinevirtual
Note
overridden

Implements Basda::Device.

◆ reset() [1/2]

virtual void mpia::PowerMeterDeviceFake::reset ( DeviceAsync = s_async)
inlinevirtual
Note
overridden

Implements Basda::Device.

◆ reset() [2/2]

virtual void mpia::PowerMeterDeviceFake::reset ( DeviceAsync = s_async)
inlinevirtual
Note
overridden

Implements Basda::Device.

◆ version() [1/2]

virtual void mpia::PowerMeterDeviceFake::version ( void  )
inlinevirtual
Note
overridden

Implements Basda::Device.

◆ version() [2/2]

virtual void mpia::PowerMeterDeviceFake::version ( void  )
inlinevirtual
Note
overridden

Implements Basda::Device.

Member Data Documentation

◆ invocationCount_activate_

unsigned mpia::PowerMeterDeviceFake::invocationCount_activate_
private

◆ invocationCount_checkReachability_

unsigned mpia::PowerMeterDeviceFake::invocationCount_checkReachability_
private

◆ invocationCount_close_

unsigned mpia::PowerMeterDeviceFake::invocationCount_close_
private

◆ invocationCount_deactivate_

unsigned mpia::PowerMeterDeviceFake::invocationCount_deactivate_
private

◆ invocationCount_deinit_

unsigned mpia::PowerMeterDeviceFake::invocationCount_deinit_
private

◆ invocationCount_init_

unsigned mpia::PowerMeterDeviceFake::invocationCount_init_
private

◆ invocationCount_measure_

unsigned mpia::PowerMeterDeviceFake::invocationCount_measure_
private

◆ invocationCount_open_

unsigned mpia::PowerMeterDeviceFake::invocationCount_open_
private

◆ invocationCount_reset_

unsigned mpia::PowerMeterDeviceFake::invocationCount_reset_
private

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