TwiceAsNice  2019-02-18
Public Types | Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
Basda::Tempo::PfeifferTurboPumpDevice Class Reference

#include <PfeifferTurboPumpDevice.h>

Inheritance diagram for Basda::Tempo::PfeifferTurboPumpDevice:
Inheritance graph
Collaboration diagram for Basda::Tempo::PfeifferTurboPumpDevice:
Collaboration graph

Public Types

typedef ::Basda::DeviceAsync DeviceAsync
 
typedef ::Basda::DeviceAsync DeviceAsync
 

Public Member Functions

 PfeifferTurboPumpDevice (const Nice::JointPtr &config)
 
virtual ~PfeifferTurboPumpDevice ()
 
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 bool isReachable ()
 function to check wheter the device is reachable or not More...
 
virtual double getSensorData (int sensorID)
 
virtual std::vector< double > getAllData ()
 
 PfeifferTurboPumpDevice (const Nice::JointPtr &config)
 
virtual ~PfeifferTurboPumpDevice ()
 
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 bool isReachable ()
 function to check wheter the device is reachable or not More...
 
virtual double getSensorData (int sensorID)
 
virtual std::vector< double > getAllData ()
 
- Public Member Functions inherited from Basda::Tempo::MonitorDevice
 MonitorDevice (const Nice::JointPtr &config)
 
virtual ~MonitorDevice ()
 
 MonitorDevice (const Nice::JointPtr &config)
 
virtual ~MonitorDevice ()
 
 MonitorDevice (const Nice::JointPtr &config)
 
virtual ~MonitorDevice ()
 
- Public Member Functions inherited from Basda::Tempo::TempoDevice
 TempoDevice (const Nice::JointPtr &config)
 
virtual ~TempoDevice ()
 
 TempoDevice (const Nice::JointPtr &config)
 
virtual ~TempoDevice ()
 
 TempoDevice (const Nice::JointPtr &config)
 
virtual ~TempoDevice ()
 
- 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

Basda::Tempo::turboPump m_pump
 
- Protected Attributes inherited from Basda::Device
Nice::JointPtr m_config
 
Nice::JointPtr m_cfg
 
Nice::JointPtr m_var
 
std::string m_name
 

Private Member Functions

void setReachable (const bool state)
 function to set the reachable flag More...
 
void setPropertiesToUnknown ()
 
void handleErrors ()
 
void initPumpDataStructure ()
 
Basda::Tempo::Pfeiffer::PfeifferTurboPumpErrorCode getErrorCodeFromString (std::string errorcode)
 
void doLog ()
 
void setReachable (const bool state)
 function to set the reachable flag More...
 
void setPropertiesToUnknown ()
 
void handleErrors ()
 
void initPumpDataStructure ()
 
Basda::Tempo::Pfeiffer::PfeifferTurboPumpErrorCode getErrorCodeFromString (std::string errorcode)
 
void doLog ()
 

Private Attributes

Basda::Tempo::PfeifferTurboPumpTCM1601Ptr 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...
 
std::fstream m_log
 
std::string m_logfile
 
bool m_isLogging
 
Nice::Time m_logFreq
 
Nice::Timer m_logUpdate
 

Additional Inherited Members

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

Detailed Description


Author
trowitzsch 2011-09-12

Member Typedef Documentation

◆ DeviceAsync [1/2]

◆ DeviceAsync [2/2]

Constructor & Destructor Documentation

◆ PfeifferTurboPumpDevice() [1/2]

Basda::Tempo::PfeifferTurboPumpDevice::PfeifferTurboPumpDevice ( const Nice::JointPtr config)

◆ ~PfeifferTurboPumpDevice() [1/2]

Basda::Tempo::PfeifferTurboPumpDevice::~PfeifferTurboPumpDevice ( )
virtual

◆ PfeifferTurboPumpDevice() [2/2]

Basda::Tempo::PfeifferTurboPumpDevice::PfeifferTurboPumpDevice ( const Nice::JointPtr config)

◆ ~PfeifferTurboPumpDevice() [2/2]

virtual Basda::Tempo::PfeifferTurboPumpDevice::~PfeifferTurboPumpDevice ( )
virtual

Member Function Documentation

◆ activate() [1/2]

virtual void Basda::Tempo::PfeifferTurboPumpDevice::activate ( DeviceAsync = ::Basda::Device::s_async)
inlinevirtual

activate the device

Implements Basda::Device.

◆ activate() [2/2]

virtual void Basda::Tempo::PfeifferTurboPumpDevice::activate ( DeviceAsync = ::Basda::Device::s_async)
inlinevirtual

activate the device

Implements Basda::Device.

◆ close() [1/2]

virtual void Basda::Tempo::PfeifferTurboPumpDevice::close ( void  )
virtual

function to close the connection to the device.

Implements Basda::Device.

◆ close() [2/2]

void Basda::Tempo::PfeifferTurboPumpDevice::close ( void  )
virtual

function to close the connection to the device.

Implements Basda::Device.

◆ deactivate() [1/2]

virtual void Basda::Tempo::PfeifferTurboPumpDevice::deactivate ( DeviceAsync = ::Basda::Device::s_async)
inlinevirtual

deactivate the device

Implements Basda::Device.

◆ deactivate() [2/2]

virtual void Basda::Tempo::PfeifferTurboPumpDevice::deactivate ( DeviceAsync = ::Basda::Device::s_async)
inlinevirtual

deactivate the device

Implements Basda::Device.

◆ deinit() [1/2]

void Basda::Tempo::PfeifferTurboPumpDevice::deinit ( DeviceAsync s_async = ::Basda::Device::s_async)
virtual

function to deinit the device.

Implements Basda::Device.

◆ deinit() [2/2]

virtual void Basda::Tempo::PfeifferTurboPumpDevice::deinit ( DeviceAsync = ::Basda::Device::s_async)
virtual

function to deinit the device.

Implements Basda::Device.

◆ doLog() [1/2]

void Basda::Tempo::PfeifferTurboPumpDevice::doLog ( )
private

◆ doLog() [2/2]

void Basda::Tempo::PfeifferTurboPumpDevice::doLog ( )
private

◆ getAllData() [1/2]

std::vector< double > Basda::Tempo::PfeifferTurboPumpDevice::getAllData ( )
virtual

◆ getAllData() [2/2]

virtual std::vector<double> Basda::Tempo::PfeifferTurboPumpDevice::getAllData ( )
virtual

◆ getErrorCodeFromString() [1/2]

Basda::Tempo::Pfeiffer::PfeifferTurboPumpErrorCode Basda::Tempo::PfeifferTurboPumpDevice::getErrorCodeFromString ( std::string  errorcode)
private

◆ getErrorCodeFromString() [2/2]

Basda::Tempo::Pfeiffer::PfeifferTurboPumpErrorCode Basda::Tempo::PfeifferTurboPumpDevice::getErrorCodeFromString ( std::string  errorcode)
private

◆ getSensorData() [1/2]

double Basda::Tempo::PfeifferTurboPumpDevice::getSensorData ( int  sensorID)
virtual

◆ getSensorData() [2/2]

virtual double Basda::Tempo::PfeifferTurboPumpDevice::getSensorData ( int  sensorID)
virtual

◆ handleErrors() [1/2]

void Basda::Tempo::PfeifferTurboPumpDevice::handleErrors ( )
private

◆ handleErrors() [2/2]

void Basda::Tempo::PfeifferTurboPumpDevice::handleErrors ( )
private

◆ init() [1/2]

virtual void Basda::Tempo::PfeifferTurboPumpDevice::init ( DeviceAsync = Basda::Device::s_async)
virtual

function to init the device.

Implements Basda::Device.

◆ init() [2/2]

void Basda::Tempo::PfeifferTurboPumpDevice::init ( DeviceAsync s_async = Basda::Device::s_async)
virtual

function to init the device.

Implements Basda::Device.

◆ initPumpDataStructure() [1/2]

void Basda::Tempo::PfeifferTurboPumpDevice::initPumpDataStructure ( )
private

◆ initPumpDataStructure() [2/2]

void Basda::Tempo::PfeifferTurboPumpDevice::initPumpDataStructure ( )
private

◆ isReachable() [1/2]

virtual bool Basda::Tempo::PfeifferTurboPumpDevice::isReachable ( )
virtual

function to check wheter the device is reachable or not

Returns
true if reachable, false otherwise

Implements Basda::Tempo::TempoDevice.

◆ isReachable() [2/2]

bool Basda::Tempo::PfeifferTurboPumpDevice::isReachable ( )
virtual

function to check wheter the device is reachable or not

Returns
true if reachable, false otherwise

Implements Basda::Tempo::TempoDevice.

◆ open() [1/2]

virtual void Basda::Tempo::PfeifferTurboPumpDevice::open ( void  )
virtual

function to open the connection to the device.

Implements Basda::Device.

◆ open() [2/2]

void Basda::Tempo::PfeifferTurboPumpDevice::open ( void  )
virtual

function to open the connection to the device.

Implements Basda::Device.

◆ reset() [1/2]

virtual void Basda::Tempo::PfeifferTurboPumpDevice::reset ( DeviceAsync = ::Basda::Device::s_async)
virtual

function to reset the device.

Implements Basda::Device.

◆ reset() [2/2]

void Basda::Tempo::PfeifferTurboPumpDevice::reset ( DeviceAsync s_async = ::Basda::Device::s_async)
virtual

function to reset the device.

Implements Basda::Device.

◆ setPropertiesToUnknown() [1/2]

void Basda::Tempo::PfeifferTurboPumpDevice::setPropertiesToUnknown ( )
private

◆ setPropertiesToUnknown() [2/2]

void Basda::Tempo::PfeifferTurboPumpDevice::setPropertiesToUnknown ( )
private

◆ setReachable() [1/2]

void Basda::Tempo::PfeifferTurboPumpDevice::setReachable ( const bool  state)
private

function to set the reachable flag

◆ setReachable() [2/2]

void Basda::Tempo::PfeifferTurboPumpDevice::setReachable ( const bool  state)
private

function to set the reachable flag

◆ updateProperties() [1/2]

void Basda::Tempo::PfeifferTurboPumpDevice::updateProperties ( )
virtual

◆ updateProperties() [2/2]

virtual void Basda::Tempo::PfeifferTurboPumpDevice::updateProperties ( )
virtual

◆ version() [1/2]

void Basda::Tempo::PfeifferTurboPumpDevice::version ( void  )
virtual

return the library version

Implements Basda::Device.

◆ version() [2/2]

virtual void Basda::Tempo::PfeifferTurboPumpDevice::version ( )
virtual

return the library version

Implements Basda::Device.

Member Data Documentation

◆ m_connection

std::string Basda::Tempo::PfeifferTurboPumpDevice::m_connection
private

stores the connection address of the device currently connected to

◆ m_isLogging

bool Basda::Tempo::PfeifferTurboPumpDevice::m_isLogging
private

◆ m_isReachable

bool Basda::Tempo::PfeifferTurboPumpDevice::m_isReachable
private

reachable flag

◆ m_log

std::fstream Basda::Tempo::PfeifferTurboPumpDevice::m_log
private

◆ m_logfile

std::string Basda::Tempo::PfeifferTurboPumpDevice::m_logfile
private

◆ m_logFreq

Nice::Time Basda::Tempo::PfeifferTurboPumpDevice::m_logFreq
private

◆ m_logUpdate

Nice::Timer Basda::Tempo::PfeifferTurboPumpDevice::m_logUpdate
private

◆ m_pfeiffer

Basda::Tempo::PfeifferTurboPumpTCM1601Ptr Basda::Tempo::PfeifferTurboPumpDevice::m_pfeiffer
private

instance of the Pfeiffer Dual Gauge driver class

◆ m_pump

Basda::Tempo::turboPump Basda::Tempo::PfeifferTurboPumpDevice::m_pump
protected

◆ m_syncMutex

IceUtil::RecMutex Basda::Tempo::PfeifferTurboPumpDevice::m_syncMutex
private

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