TwiceAsNice
2019-02-18
|
#include <src-Device.h>
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... | |
![]() | |
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... | |
Protected Attributes | |
Nice::JointPtrVector | m_moduleNodes |
put your special member function here, e.g. More... | |
![]() | |
Nice::JointPtr | m_config |
Nice::JointPtr | m_cfg |
Nice::JointPtr | m_var |
std::string | m_name |
Additional Inherited Members | |
![]() | |
static DeviceAsyncImpl | s_async |
$APPNAME $NAMESPACE::$Device::$Device | ( | const Nice::JointPtr & | _config | ) |
|
inlinevirtual |
|
virtual |
activate the device
Implements Basda::Device.
close device
Implements Basda::Device.
|
virtual |
deactivate the device
Implements Basda::Device.
|
virtual |
deinit the device
Implements Basda::Device.
|
virtual |
init the device
Implements Basda::Device.
open device
Implements Basda::Device.
|
virtual |
reset the device
Implements Basda::Device.
version
Implements Basda::Device.
|
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;};