TwiceAsNice
2019-02-18
|
This is a specialization of the IO device class. More...
#include <THDevice.h>
Public Member Functions | |
MoccaTHDevice (const Nice::JointPtr &_config) | |
Constructor. More... | |
virtual | ~MoccaTHDevice () |
Constructor. More... | |
virtual bool | isReachable ()=0 |
virtual void | setLinkTimeout (Nice::Time _tcpConnectionTimeout)=0 |
virtual Nice::SeqTime | getLinkTimeout ()=0 |
virtual float | readTemperature (std::string _sensorName)=0 |
virtual float | readHumidity (std::string _sensorName)=0 |
virtual Nice::SeqFloat | read (std::string _sensorName)=0 |
MoccaTHDevice (const Nice::JointPtr &_config) | |
Constructor. More... | |
virtual | ~MoccaTHDevice () |
Constructor. More... | |
virtual bool | isReachable ()=0 |
virtual void | setLinkTimeout (Nice::Time _tcpConnectionTimeout)=0 |
virtual Nice::SeqTime | getLinkTimeout ()=0 |
virtual float | readTemperature (std::string _sensorName)=0 |
virtual float | readHumidity (std::string _sensorName)=0 |
virtual Nice::SeqFloat | read (std::string _sensorName)=0 |
MoccaTHDevice (const Nice::JointPtr &_config) | |
Constructor. More... | |
virtual | ~MoccaTHDevice () |
Constructor. More... | |
virtual bool | isReachable ()=0 |
virtual void | setLinkTimeout (Nice::Time _tcpConnectionTimeout)=0 |
virtual Nice::SeqTime | getLinkTimeout ()=0 |
virtual float | readTemperature (std::string _sensorName)=0 |
virtual float | readHumidity (std::string _sensorName)=0 |
virtual Nice::SeqFloat | read (std::string _sensorName)=0 |
![]() | |
TempoDevice (const Nice::JointPtr &config) | |
virtual | ~TempoDevice () |
virtual void | updateProperties ()=0 |
TempoDevice (const Nice::JointPtr &config) | |
virtual | ~TempoDevice () |
virtual void | updateProperties ()=0 |
TempoDevice (const Nice::JointPtr &config) | |
virtual | ~TempoDevice () |
virtual void | updateProperties ()=0 |
![]() | |
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... | |
virtual void | open ()=0 |
open device More... | |
virtual void | close ()=0 |
close device More... | |
virtual void | reset (DeviceAsync &=s_async)=0 |
reset the device More... | |
virtual void | version ()=0 |
version More... | |
virtual void | init (DeviceAsync &=s_async)=0 |
init the device More... | |
virtual void | deinit (DeviceAsync &=s_async)=0 |
deinit the device More... | |
virtual void | activate (DeviceAsync &=s_async)=0 |
activate the device More... | |
virtual void | deactivate (DeviceAsync &=s_async)=0 |
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... | |
virtual void | open ()=0 |
open device More... | |
virtual void | close ()=0 |
close device More... | |
virtual void | reset (DeviceAsync &=s_async)=0 |
reset the device More... | |
virtual void | version ()=0 |
version More... | |
virtual void | init (DeviceAsync &=s_async)=0 |
init the device More... | |
virtual void | deinit (DeviceAsync &=s_async)=0 |
deinit the device More... | |
virtual void | activate (DeviceAsync &=s_async)=0 |
activate the device More... | |
virtual void | deactivate (DeviceAsync &=s_async)=0 |
deactivate the device More... | |
Protected Types | |
enum | CMDS { OPEN, CLOSE, RESET, INIT, DEINIT, ACTIVATE, DEACTIVATE, READ, WRITE, READOUTPUTPORT, SETOUTPUTPORT, OPEN, CLOSE, RESET, INIT, DEINIT, ACTIVATE, DEACTIVATE, READ, WRITE, READOUTPUTPORT, SETOUTPUTPORT, OPEN, CLOSE, RESET, INIT, DEINIT, ACTIVATE, DEACTIVATE, READ, WRITE, READOUTPUTPORT, SETOUTPUTPORT } |
enum | CMDS { OPEN, CLOSE, RESET, INIT, DEINIT, ACTIVATE, DEACTIVATE, READ, WRITE, READOUTPUTPORT, SETOUTPUTPORT, OPEN, CLOSE, RESET, INIT, DEINIT, ACTIVATE, DEACTIVATE, READ, WRITE, READOUTPUTPORT, SETOUTPUTPORT, OPEN, CLOSE, RESET, INIT, DEINIT, ACTIVATE, DEACTIVATE, READ, WRITE, READOUTPUTPORT, SETOUTPUTPORT } |
enum | CMDS { OPEN, CLOSE, RESET, INIT, DEINIT, ACTIVATE, DEACTIVATE, READ, WRITE, READOUTPUTPORT, SETOUTPUTPORT, OPEN, CLOSE, RESET, INIT, DEINIT, ACTIVATE, DEACTIVATE, READ, WRITE, READOUTPUTPORT, SETOUTPUTPORT, OPEN, CLOSE, RESET, INIT, DEINIT, ACTIVATE, DEACTIVATE, READ, WRITE, READOUTPUTPORT, SETOUTPUTPORT } |
Protected Attributes | |
Nice::Completion | m_completion |
![]() | |
Nice::JointPtr | m_config |
Nice::JointPtr | m_cfg |
Nice::JointPtr | m_var |
std::string | m_name |
Additional Inherited Members | |
![]() | |
static DeviceAsyncImpl | s_async |
|
protected |
|
protected |
|
protected |
|
inline |
Constructor.
_config | the root of the configuration tree |
|
inlinevirtual |
Constructor.
|
inline |
Constructor.
_config | the root of the configuration tree |
|
inlinevirtual |
Constructor.
|
inline |
Constructor.
_config | the root of the configuration tree |
|
inlinevirtual |
Constructor.
|
pure virtual |
Implemented in Basda::UniModTHDeviceDummy, Basda::UniModTHDeviceDummy, Basda::UniModTHDevice, and Basda::UniModTHDevice.
|
pure virtual |
Implemented in Basda::UniModTHDeviceDummy, Basda::UniModTHDeviceDummy, Basda::UniModTHDevice, and Basda::UniModTHDevice.
|
pure virtual |
Implemented in Basda::UniModTHDeviceDummy, Basda::UniModTHDeviceDummy, Basda::UniModTHDevice, and Basda::UniModTHDevice.
|
pure virtual |
Implements Basda::Tempo::TempoDevice.
Implemented in Basda::UniModTHDeviceDummy, Basda::UniModTHDeviceDummy, Basda::UniModTHDevice, and Basda::UniModTHDevice.
|
pure virtual |
Implements Basda::Tempo::TempoDevice.
Implemented in Basda::UniModTHDeviceDummy, Basda::UniModTHDeviceDummy, Basda::UniModTHDevice, and Basda::UniModTHDevice.
|
pure virtual |
Implements Basda::Tempo::TempoDevice.
Implemented in Basda::UniModTHDeviceDummy, Basda::UniModTHDeviceDummy, Basda::UniModTHDevice, and Basda::UniModTHDevice.
|
pure virtual |
Implemented in Basda::UniModTHDeviceDummy, Basda::UniModTHDeviceDummy, Basda::UniModTHDevice, and Basda::UniModTHDevice.
|
pure virtual |
Implemented in Basda::UniModTHDeviceDummy, Basda::UniModTHDeviceDummy, Basda::UniModTHDevice, and Basda::UniModTHDevice.
|
pure virtual |
Implemented in Basda::UniModTHDeviceDummy, Basda::UniModTHDeviceDummy, Basda::UniModTHDevice, and Basda::UniModTHDevice.
|
pure virtual |
Implemented in Basda::UniModTHDeviceDummy, Basda::UniModTHDeviceDummy, Basda::UniModTHDevice, and Basda::UniModTHDevice.
|
pure virtual |
Implemented in Basda::UniModTHDeviceDummy, Basda::UniModTHDeviceDummy, Basda::UniModTHDevice, and Basda::UniModTHDevice.
|
pure virtual |
Implemented in Basda::UniModTHDeviceDummy, Basda::UniModTHDeviceDummy, Basda::UniModTHDevice, and Basda::UniModTHDevice.
|
pure virtual |
Implemented in Basda::UniModTHDeviceDummy, Basda::UniModTHDeviceDummy, Basda::UniModTHDevice, and Basda::UniModTHDevice.
|
pure virtual |
Implemented in Basda::UniModTHDeviceDummy, Basda::UniModTHDeviceDummy, Basda::UniModTHDevice, and Basda::UniModTHDevice.
|
pure virtual |
Implemented in Basda::UniModTHDeviceDummy, Basda::UniModTHDeviceDummy, Basda::UniModTHDevice, and Basda::UniModTHDevice.
|
pure virtual |
Implemented in Basda::UniModTHDeviceDummy, Basda::UniModTHDeviceDummy, Basda::UniModTHDevice, and Basda::UniModTHDevice.
|
pure virtual |
Implemented in Basda::UniModTHDeviceDummy, Basda::UniModTHDeviceDummy, Basda::UniModTHDevice, and Basda::UniModTHDevice.
|
pure virtual |
Implemented in Basda::UniModTHDeviceDummy, Basda::UniModTHDeviceDummy, Basda::UniModTHDevice, and Basda::UniModTHDevice.
|
protected |