TwiceAsNice
2019-02-18
|
#include <PfeifferDualGaugeDevice.h>
Public Types | |
typedef ::Basda::DeviceAsync | DeviceAsync |
typedef ::Basda::DeviceAsync | DeviceAsync |
Public Member Functions | |
PfeifferDualGaugeDevice (const Nice::JointPtr &config) | |
virtual | ~PfeifferDualGaugeDevice () |
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 | updateProperties () |
virtual void | version () |
return the library version More... | |
virtual Nice::JointPtrVector & | description (void) |
function to read the description More... | |
virtual bool | isReachable () |
function to check wheter the device is reachable or not More... | |
virtual double | getSensorData (int sensorID) |
virtual std::vector< double > | getAllData () |
PfeifferDualGaugeDevice (const Nice::JointPtr &config) | |
virtual | ~PfeifferDualGaugeDevice () |
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 | updateProperties () |
virtual void | version () |
return the library version More... | |
virtual Nice::JointPtrVector & | description (void) |
function to read the description More... | |
virtual bool | isReachable () |
function to check wheter the device is reachable or not More... | |
virtual double | getSensorData (int sensorID) |
virtual std::vector< double > | getAllData () |
![]() | |
MonitorDevice (const Nice::JointPtr &config) | |
virtual | ~MonitorDevice () |
MonitorDevice (const Nice::JointPtr &config) | |
virtual | ~MonitorDevice () |
MonitorDevice (const Nice::JointPtr &config) | |
virtual | ~MonitorDevice () |
![]() | |
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 | m_partNodes |
gaugeSensorVector | m_sensor |
vector containing the data of the different inputs More... | |
gaugeSwitchVector | m_switch |
vector containing the data of the switching functions More... | |
![]() | |
Nice::JointPtr | m_config |
Nice::JointPtr | m_cfg |
Nice::JointPtr | m_var |
std::string | m_name |
Private Member Functions | |
std::string | getGaugeStatusText (int status) |
void | getSwitchData (gaugeSwitchVector &gswitch) |
void | getInputData (gaugeSensorVector &ginput) |
void | setReachable (const bool state) |
function to set the reachable flag More... | |
void | setPropertiesToUnknown () |
void | handleErrors () |
std::string | getGaugeStatusText (int status) |
void | getSwitchData (gaugeSwitchVector &gswitch) |
void | getInputData (gaugeSensorVector &ginput) |
void | setReachable (const bool state) |
function to set the reachable flag More... | |
void | setPropertiesToUnknown () |
void | handleErrors () |
Private Attributes | |
Basda::Tempo::PfeifferDualGaugeTPG262Ptr | m_pfeiffer |
instance of the Pfeiffer Dual Gauge driver class More... | |
std::string | m_connection |
stores the connection address of the device currently connected to More... | |
IceUtil::RecMutex | m_syncMutex |
bool | m_isReachable |
reachable flag More... | |
Nice::Time | m_logFreq |
Nice::Timer | m_logUpdate |
Additional Inherited Members | |
![]() | |
static DeviceAsyncImpl | s_async |
Basda::Tempo::PfeifferDualGaugeDevice::PfeifferDualGaugeDevice | ( | const Nice::JointPtr & | config | ) |
|
virtual |
Basda::Tempo::PfeifferDualGaugeDevice::PfeifferDualGaugeDevice | ( | const Nice::JointPtr & | config | ) |
|
virtual |
|
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
|
virtual |
Implements Basda::Tempo::MonitorDevice.
|
virtual |
Implements Basda::Tempo::MonitorDevice.
|
private |
|
private |
|
private |
|
private |
|
virtual |
Implements Basda::Tempo::MonitorDevice.
|
virtual |
Implements Basda::Tempo::MonitorDevice.
|
private |
|
private |
|
private |
|
private |
|
virtual |
function to init the device.
Implements Basda::Device.
|
virtual |
function to init the device.
Implements Basda::Device.
|
virtual |
function to check wheter the device is reachable or not
Implements Basda::Tempo::TempoDevice.
|
virtual |
function to check wheter the device is reachable or not
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.
|
virtual |
function to reset the device.
Implements Basda::Device.
|
virtual |
function to reset the device.
Implements Basda::Device.
|
private |
|
private |
function to set the reachable flag
function to set the reachable flag
|
virtual |
Implements Basda::Tempo::TempoDevice.
|
virtual |
Implements Basda::Tempo::TempoDevice.
|
virtual |
return the library version
Implements Basda::Device.
|
virtual |
return the library version
Implements Basda::Device.
|
private |
stores the connection address of the device currently connected to
|
private |
reachable flag
|
private |
|
private |
|
protected |
|
private |
instance of the Pfeiffer Dual Gauge driver class
|
protected |
vector containing the data of the different inputs
|
protected |
vector containing the data of the switching functions
|
private |