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

#include <LakeshoreMonitorDevice.h>

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

Public Types

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

Public Member Functions

 LakeshoreMonitorDevice (const Nice::JointPtr &config)
 
virtual ~LakeshoreMonitorDevice ()
 
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::JointPtrVectordescription (void)
 function to read the description More...
 
virtual bool isReachable ()
 function to check whether the device is reachable or not More...
 
virtual double getSensorData (int sensorID)
 
virtual std::vector< double > getAllData ()
 
 LakeshoreMonitorDevice (const Nice::JointPtr &config)
 
virtual ~LakeshoreMonitorDevice ()
 
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::JointPtrVectordescription (void)
 function to read the description More...
 
virtual bool isReachable ()
 function to check whether 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

Nice::JointPtrVector m_partNodes
 
monDataVector m_input
 
- 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 initMonitorData (monitorData &data)
 
void setReachable (const bool state)
 function to set the reachable flag More...
 
void setPropertiesToUnknown ()
 
void handleErrors ()
 
void initMonitorData (monitorData &data)
 
void setReachable (const bool state)
 function to set the reachable flag More...
 
void setPropertiesToUnknown ()
 
void handleErrors ()
 

Private Attributes

Basda::Tempo::LakeshoreMonitor218SPtr m_lakeshore
 instance of the Lakeshore 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::string m_keylogname
 

Additional Inherited Members

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

Member Typedef Documentation

◆ DeviceAsync [1/2]

◆ DeviceAsync [2/2]

Constructor & Destructor Documentation

◆ LakeshoreMonitorDevice() [1/2]

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

◆ ~LakeshoreMonitorDevice() [1/2]

Basda::Tempo::LakeshoreMonitorDevice::~LakeshoreMonitorDevice ( )
virtual

◆ LakeshoreMonitorDevice() [2/2]

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

◆ ~LakeshoreMonitorDevice() [2/2]

virtual Basda::Tempo::LakeshoreMonitorDevice::~LakeshoreMonitorDevice ( )
virtual

Member Function Documentation

◆ activate() [1/2]

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

activate the device

Implements Basda::Device.

◆ activate() [2/2]

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

activate the device

Implements Basda::Device.

◆ close() [1/2]

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

function to close the connection to the device.

Implements Basda::Device.

◆ close() [2/2]

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

function to close the connection to the device.

Implements Basda::Device.

◆ deactivate() [1/2]

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

deactivate the device

Implements Basda::Device.

◆ deactivate() [2/2]

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

deactivate the device

Implements Basda::Device.

◆ deinit() [1/2]

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

function to deinit the device.

Implements Basda::Device.

◆ deinit() [2/2]

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

function to deinit the device.

Implements Basda::Device.

◆ description() [1/2]

virtual Nice::JointPtrVector& Basda::Tempo::LakeshoreMonitorDevice::description ( void  )
inlinevirtual

function to read the description

Returns
vector containing all informations

◆ description() [2/2]

virtual Nice::JointPtrVector& Basda::Tempo::LakeshoreMonitorDevice::description ( void  )
inlinevirtual

function to read the description

Returns
vector containing all informations

◆ getAllData() [1/2]

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

◆ getAllData() [2/2]

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

◆ getSensorData() [1/2]

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

◆ getSensorData() [2/2]

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

◆ handleErrors() [1/2]

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

◆ handleErrors() [2/2]

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

◆ init() [1/2]

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

function to init the device.

Implements Basda::Device.

◆ init() [2/2]

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

function to init the device.

Implements Basda::Device.

◆ initMonitorData() [1/2]

void Basda::Tempo::LakeshoreMonitorDevice::initMonitorData ( monitorData data)
private

◆ initMonitorData() [2/2]

void Basda::Tempo::LakeshoreMonitorDevice::initMonitorData ( monitorData data)
private

◆ isReachable() [1/2]

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

function to check whether the device is reachable or not

Returns
true if reachable, false otherwise

Implements Basda::Tempo::TempoDevice.

◆ isReachable() [2/2]

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

function to check whether the device is reachable or not

Returns
true if reachable, false otherwise

Implements Basda::Tempo::TempoDevice.

◆ open() [1/2]

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

function to open the connection to the device.

Implements Basda::Device.

◆ open() [2/2]

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

function to open the connection to the device.

Implements Basda::Device.

◆ reset() [1/2]

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

function to reset the device.

Implements Basda::Device.

◆ reset() [2/2]

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

function to reset the device.

Implements Basda::Device.

◆ setPropertiesToUnknown() [1/2]

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

◆ setPropertiesToUnknown() [2/2]

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

◆ setReachable() [1/2]

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

function to set the reachable flag

◆ setReachable() [2/2]

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

function to set the reachable flag

◆ updateProperties() [1/2]

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

◆ updateProperties() [2/2]

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

◆ version() [1/2]

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

return the library version

Implements Basda::Device.

◆ version() [2/2]

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

return the library version

Implements Basda::Device.

Member Data Documentation

◆ m_connection

std::string Basda::Tempo::LakeshoreMonitorDevice::m_connection
private

stores the connection address of the device currently connected to

◆ m_input

monDataVector Basda::Tempo::LakeshoreMonitorDevice::m_input
protected

◆ m_isReachable

bool Basda::Tempo::LakeshoreMonitorDevice::m_isReachable
private

reachable flag

◆ m_keylogname

std::string Basda::Tempo::LakeshoreMonitorDevice::m_keylogname
private

◆ m_lakeshore

Basda::Tempo::LakeshoreMonitor218SPtr Basda::Tempo::LakeshoreMonitorDevice::m_lakeshore
private

instance of the Lakeshore driver class

◆ m_partNodes

Nice::JointPtrVector Basda::Tempo::LakeshoreMonitorDevice::m_partNodes
protected

◆ m_syncMutex

IceUtil::RecMutex Basda::Tempo::LakeshoreMonitorDevice::m_syncMutex
private

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