TwiceAsNice  2019-02-18
Public Member Functions | Protected Attributes | List of all members
$NAMESPACE::$Device Class Reference

#include <src-Device.h>

Inheritance diagram for $NAMESPACE::$Device:
Inheritance graph
Collaboration diagram for $NAMESPACE::$Device:
Collaboration graph

Public Member Functions

$APPNAME $Device (const Nice::JointPtr &_config)
 
virtual ~ $APPNAME $Device ()
 
virtual void open ()
 open device More...
 
virtual void close ()
 close device More...
 
virtual void reset (Basda::DeviceAsync &=Basda::Device::s_async)
 reset the device More...
 
virtual void version ()
 version More...
 
virtual void init (Basda::DeviceAsync &=Basda::Device::s_async)
 init the device More...
 
virtual void deinit (Basda::DeviceAsync &=Basda::Device::s_async)
 deinit the device More...
 
virtual void activate (Basda::DeviceAsync &=Basda::Device::s_async)
 activate the device More...
 
virtual void deactivate (Basda::DeviceAsync &=Basda::Device::s_async)
 deactivate the device More...
 
- 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...
 

Protected Attributes

Nice::JointPtrVector m_moduleNodes
 put your special member function here, e.g. More...
 
- Protected Attributes inherited from Basda::Device
Nice::JointPtr m_config
 
Nice::JointPtr m_cfg
 
Nice::JointPtr m_var
 
std::string m_name
 

Additional Inherited Members

- Static Public Attributes inherited from Basda::Device
static DeviceAsyncImpl s_async
 

Constructor & Destructor Documentation

◆ $Device() [1/2]

$APPNAME $NAMESPACE::$Device::$Device ( const Nice::JointPtr _config)

◆ $Device() [2/2]

virtual ~$APPNAME $NAMESPACE::$Device::$Device ( )
inlinevirtual

Member Function Documentation

◆ activate()

void $NAMESPACE $APPNAME $Device::activate ( Basda::DeviceAsync _async = Basda::Device::s_async)
virtual

activate the device

Implements Basda::Device.

◆ close()

void $NAMESPACE $APPNAME $Device::close ( void  )
virtual

close device

Implements Basda::Device.

◆ deactivate()

void $NAMESPACE $APPNAME $Device::deactivate ( Basda::DeviceAsync _async = Basda::Device::s_async)
virtual

deactivate the device

Implements Basda::Device.

◆ deinit()

void $NAMESPACE $APPNAME $Device::deinit ( Basda::DeviceAsync _async = Basda::Device::s_async)
virtual

deinit the device

Implements Basda::Device.

◆ init()

void $NAMESPACE $APPNAME $Device::init ( Basda::DeviceAsync _async = Basda::Device::s_async)
virtual

init the device

Implements Basda::Device.

◆ open()

void $NAMESPACE $APPNAME $Device::open ( void  )
virtual

open device

Implements Basda::Device.

◆ reset()

void $NAMESPACE $APPNAME $Device::reset ( Basda::DeviceAsync _async = Basda::Device::s_async)
virtual

reset the device

Implements Basda::Device.

◆ version()

void $NAMESPACE $APPNAME $Device::version ( void  )
virtual

version

Implements Basda::Device.

Member Data Documentation

◆ m_moduleNodes

Nice::JointPtrVector $NAMESPACE::$Device::m_moduleNodes
protected

put your special member function here, e.g.

Tempo devices: read the device virtual const $APPNAME$DeviceDataVector & read(){return m_data;}; ! read description virtual const Nice::JointPtrVector & description() {return m_moduleNodes;};


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