TwiceAsNice
2019-02-18
|
#include <DeviceSimulatorWavecommMonitor.h>
Public Types | |
typedef ::Basda::DeviceAsync | DeviceAsync |
typedef ::Basda::DeviceAsync | DeviceAsync |
Public Member Functions | |
DeviceSimulatorWavecommMonitor (const Nice::JointPtr &config) | |
constructor More... | |
virtual | ~DeviceSimulatorWavecommMonitor () |
virtual destructor More... | |
virtual void | open (void) |
function to open the connection to the device. More... | |
virtual void | close (void) |
function to close the connection to the device. More... | |
virtual void | reset (DeviceAsync &=::Basda::Device::s_async) |
function to reset the device. More... | |
virtual void | init (DeviceAsync &=Basda::Device::s_async) |
function to init the device. More... | |
virtual void | deinit (DeviceAsync &=::Basda::Device::s_async) |
function to deinit the device. More... | |
virtual void | activate (DeviceAsync &=::Basda::Device::s_async) |
activate the device More... | |
virtual void | deactivate (DeviceAsync &=::Basda::Device::s_async) |
deactivate the device More... | |
virtual void | version () |
return the library version More... | |
virtual void | updateProperties () |
Update the properties of the device. More... | |
virtual bool | isReachable () |
Returns true if the device is reachable. More... | |
virtual Nice::JointPtrVector & | description (void) |
function to read the description More... | |
DeviceSimulatorWavecommMonitor (const Nice::JointPtr &config) | |
constructor More... | |
virtual | ~DeviceSimulatorWavecommMonitor () |
virtual destructor More... | |
virtual void | open (void) |
function to open the connection to the device. More... | |
virtual void | close (void) |
function to close the connection to the device. More... | |
virtual void | reset (DeviceAsync &=::Basda::Device::s_async) |
function to reset the device. More... | |
virtual void | init (DeviceAsync &=Basda::Device::s_async) |
function to init the device. More... | |
virtual void | deinit (DeviceAsync &=::Basda::Device::s_async) |
function to deinit the device. More... | |
virtual void | activate (DeviceAsync &=::Basda::Device::s_async) |
activate the device More... | |
virtual void | deactivate (DeviceAsync &=::Basda::Device::s_async) |
deactivate the device More... | |
virtual void | version () |
return the library version More... | |
virtual void | updateProperties () |
Update the properties of the device. More... | |
virtual bool | isReachable () |
Returns true if the device is reachable. More... | |
virtual Nice::JointPtrVector & | description (void) |
function to read the description More... | |
![]() | |
TempoDevice (const Nice::JointPtr &config) | |
virtual | ~TempoDevice () |
TempoDevice (const Nice::JointPtr &config) | |
virtual | ~TempoDevice () |
TempoDevice (const Nice::JointPtr &config) | |
virtual | ~TempoDevice () |
![]() | |
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 | partNodes_ |
vector containing the children More... | |
![]() | |
Nice::JointPtr | m_config |
Nice::JointPtr | m_cfg |
Nice::JointPtr | m_var |
std::string | m_name |
Private Member Functions | |
void | setAsReachable (const bool state) |
void | setPropertiesAsUnknown () |
void | processSensorData (Nice::PropertyPtr property, int channel) |
void | setGlobalAlarm () |
void | handleErrors (const std::string message) |
void | setAsReachable (const bool state) |
void | setPropertiesAsUnknown () |
void | processSensorData (Nice::PropertyPtr property, int channel) |
void | setGlobalAlarm () |
void | handleErrors (const std::string message) |
Private Attributes | |
unsigned short | numberOfChannels_ |
IceUtil::RecMutex | syncMutex_ |
bool | isReachable_ |
bool | isAlarmActivated |
bool | isErrorActivated |
Additional Inherited Members | |
![]() | |
static DeviceAsyncImpl | s_async |
DeviceSimulatorWavecommMonitor::DeviceSimulatorWavecommMonitor | ( | const Nice::JointPtr & | config | ) |
constructor
config | configuration tree |
|
virtual |
virtual destructor
Basda::Tempo::wavecomm::DeviceSimulatorWavecommMonitor::DeviceSimulatorWavecommMonitor | ( | const Nice::JointPtr & | config | ) |
constructor
config | configuration tree |
|
virtual |
virtual destructor
|
inlinevirtual |
activate the device
Implements Basda::Device.
|
inlinevirtual |
activate the device
Implements Basda::Device.
|
virtual |
function to close the connection to the device.
Implements Basda::Device.
|
virtual |
function to close the connection to the device.
Implements Basda::Device.
|
inlinevirtual |
deactivate the device
Implements Basda::Device.
|
inlinevirtual |
deactivate the device
Implements Basda::Device.
|
virtual |
function to deinit the device.
Implements Basda::Device.
|
virtual |
function to deinit the device.
Implements Basda::Device.
|
inlinevirtual |
function to read the description
|
inlinevirtual |
function to read the description
|
private |
|
private |
|
virtual |
function to init the device.
Implements Basda::Device.
|
virtual |
function to init the device.
Implements Basda::Device.
|
virtual |
Returns true if the device is reachable.
Otherwise returns false.
Implements Basda::Tempo::TempoDevice.
|
virtual |
Returns true if the device is reachable.
Otherwise returns false.
Implements Basda::Tempo::TempoDevice.
|
virtual |
function to open the connection to the device.
Implements Basda::Device.
|
virtual |
function to open the connection to the device.
Implements Basda::Device.
|
private |
|
private |
|
virtual |
function to reset the device.
Implements Basda::Device.
|
virtual |
function to reset the device.
Implements Basda::Device.
|
private |
|
private |
|
private |
|
private |
|
private |
|
virtual |
Update the properties of the device.
Implements Basda::Tempo::TempoDevice.
|
virtual |
Update the properties of the device.
Implements Basda::Tempo::TempoDevice.
|
virtual |
return the library version
Implements Basda::Device.
|
virtual |
return the library version
Implements Basda::Device.
|
private |
|
private |
|
private |
|
private |
|
protected |
vector containing the children
|
private |