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

#include <LakeshoreControllerDevice.h>

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

Public Types

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

Public Member Functions

 LakeshoreControllerDevice (const Nice::JointPtr &config)
 
virtual ~LakeshoreControllerDevice ()
 
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 ()
 
virtual void setSetpoint (const int loop, const double &tset)
 
virtual void setRampingValue (const int loop, const double &ramping)
 
virtual void setRampingOnOff (const int loop, const bool &state)
 
virtual void setHeaterRange (const std::string &range)
 
virtual void setHeaterAnalogOnOff (const std::string &analog)
 
virtual void setPIDvaluePC1 (const int loop, const double &pvalue)
 
virtual void setPIDvalueIC2 (const int loop, const double &ivalue)
 
virtual void setPIDvalueDC3 (const int loop, const double &dvalue)
 
virtual void setHighThresholdAlarm (const int loop, const double &highValue)
 
virtual void setLowThresholdAlarm (const int loop, const double &lowValue)
 
virtual void setAlarmCheckOnOff (const int loop, const bool &state)
 
virtual void setLatchingOnOff (const int loop, const bool &state)
 
 LakeshoreControllerDevice (const Nice::JointPtr &config)
 
virtual ~LakeshoreControllerDevice ()
 
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 ()
 
virtual void setSetpoint (const int loop, const double &tset)
 
virtual void setRampingValue (const int loop, const double &ramping)
 
virtual void setRampingOnOff (const int loop, const bool &state)
 
virtual void setHeaterRange (const std::string &range)
 
virtual void setHeaterAnalogOnOff (const std::string &analog)
 
virtual void setPIDvaluePC1 (const int loop, const double &pvalue)
 
virtual void setPIDvalueIC2 (const int loop, const double &ivalue)
 
virtual void setPIDvalueDC3 (const int loop, const double &dvalue)
 
virtual void setHighThresholdAlarm (const int loop, const double &highValue)
 
virtual void setLowThresholdAlarm (const int loop, const double &lowValue)
 
virtual void setAlarmCheckOnOff (const int loop, const bool &state)
 
virtual void setLatchingOnOff (const int loop, const bool &state)
 
- Public Member Functions inherited from Basda::Tempo::ControllerDevice
 ControllerDevice (const Nice::JointPtr &config)
 
virtual ~ControllerDevice ()
 
 ControllerDevice (const Nice::JointPtr &config)
 
virtual ~ControllerDevice ()
 
 ControllerDevice (const Nice::JointPtr &config)
 
virtual ~ControllerDevice ()
 
- Public Member Functions inherited from Basda::Tempo::PidDevice
 PidDevice (const Nice::JointPtr &config)
 
virtual ~PidDevice ()
 
 PidDevice (const Nice::JointPtr &config)
 
virtual ~PidDevice ()
 
 PidDevice (const Nice::JointPtr &config)
 
virtual ~PidDevice ()
 
- 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
 
conDataVector m_data
 
- 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 initControllerData (controllerData &data)
 
void setReachable (const bool state)
 
void setPropertiesToUnknown ()
 
void handleErrors ()
 
std::string getHeaterStatusText (int status)
 
int getHeaterStatusId (std::string status)
 
std::string getHeaterRangeText (int range)
 
int getHeaterRangeId (std::string range)
 
void initHeaterRangeComboBox (Nice::PropertyPtr prop)
 
void initHeaterAnalogStatusComboBox (Nice::PropertyPtr prop)
 
void initControllerData (controllerData &data)
 
void setReachable (const bool state)
 
void setPropertiesToUnknown ()
 
void handleErrors ()
 
std::string getHeaterStatusText (int status)
 
int getHeaterStatusId (std::string status)
 
std::string getHeaterRangeText (int range)
 
int getHeaterRangeId (std::string range)
 
void initHeaterRangeComboBox (Nice::PropertyPtr prop)
 
void initHeaterAnalogStatusComboBox (Nice::PropertyPtr prop)
 

Private Attributes

Basda::Tempo::LakeshoreController331SPtr 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
 
bool m_isInit
 

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

◆ LakeshoreControllerDevice() [1/2]

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

◆ ~LakeshoreControllerDevice() [1/2]

Basda::Tempo::LakeshoreControllerDevice::~LakeshoreControllerDevice ( )
virtual

◆ LakeshoreControllerDevice() [2/2]

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

◆ ~LakeshoreControllerDevice() [2/2]

virtual Basda::Tempo::LakeshoreControllerDevice::~LakeshoreControllerDevice ( )
virtual

Member Function Documentation

◆ activate() [1/2]

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

activate the device

Implements Basda::Device.

◆ activate() [2/2]

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

activate the device

Implements Basda::Device.

◆ close() [1/2]

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

function to close the connection to the device.

Implements Basda::Device.

◆ close() [2/2]

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

function to close the connection to the device.

Implements Basda::Device.

◆ deactivate() [1/2]

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

deactivate the device

Implements Basda::Device.

◆ deactivate() [2/2]

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

deactivate the device

Implements Basda::Device.

◆ deinit() [1/2]

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

function to deinit the device.

Implements Basda::Device.

◆ deinit() [2/2]

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

function to deinit the device.

Implements Basda::Device.

◆ description() [1/2]

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

function to read the description

Returns
vector containing all informations

◆ description() [2/2]

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

function to read the description

Returns
vector containing all informations

◆ getHeaterRangeId() [1/2]

int Basda::Tempo::LakeshoreControllerDevice::getHeaterRangeId ( std::string  range)
private

◆ getHeaterRangeId() [2/2]

int Basda::Tempo::LakeshoreControllerDevice::getHeaterRangeId ( std::string  range)
private

◆ getHeaterRangeText() [1/2]

std::string Basda::Tempo::LakeshoreControllerDevice::getHeaterRangeText ( int  range)
private

◆ getHeaterRangeText() [2/2]

std::string Basda::Tempo::LakeshoreControllerDevice::getHeaterRangeText ( int  range)
private

◆ getHeaterStatusId() [1/2]

int Basda::Tempo::LakeshoreControllerDevice::getHeaterStatusId ( std::string  status)
private

◆ getHeaterStatusId() [2/2]

int Basda::Tempo::LakeshoreControllerDevice::getHeaterStatusId ( std::string  status)
private

◆ getHeaterStatusText() [1/2]

std::string Basda::Tempo::LakeshoreControllerDevice::getHeaterStatusText ( int  status)
private

◆ getHeaterStatusText() [2/2]

std::string Basda::Tempo::LakeshoreControllerDevice::getHeaterStatusText ( int  status)
private

◆ handleErrors() [1/2]

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

◆ handleErrors() [2/2]

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

◆ init() [1/2]

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

function to init the device.

Implements Basda::Device.

◆ init() [2/2]

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

function to init the device.

Implements Basda::Device.

◆ initControllerData() [1/2]

void Basda::Tempo::LakeshoreControllerDevice::initControllerData ( controllerData data)
private

◆ initControllerData() [2/2]

void Basda::Tempo::LakeshoreControllerDevice::initControllerData ( controllerData data)
private

◆ initHeaterAnalogStatusComboBox() [1/2]

void Basda::Tempo::LakeshoreControllerDevice::initHeaterAnalogStatusComboBox ( Nice::PropertyPtr  prop)
private

◆ initHeaterAnalogStatusComboBox() [2/2]

void Basda::Tempo::LakeshoreControllerDevice::initHeaterAnalogStatusComboBox ( Nice::PropertyPtr  prop)
private

◆ initHeaterRangeComboBox() [1/2]

void Basda::Tempo::LakeshoreControllerDevice::initHeaterRangeComboBox ( Nice::PropertyPtr  prop)
private

◆ initHeaterRangeComboBox() [2/2]

void Basda::Tempo::LakeshoreControllerDevice::initHeaterRangeComboBox ( Nice::PropertyPtr  prop)
private

◆ isReachable() [1/2]

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

◆ isReachable() [2/2]

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

◆ open() [1/2]

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

function to open the connection to the device.

Implements Basda::Device.

◆ open() [2/2]

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

function to open the connection to the device.

Implements Basda::Device.

◆ reset() [1/2]

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

function to reset the device.

Implements Basda::Device.

◆ reset() [2/2]

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

function to reset the device.

Implements Basda::Device.

◆ setAlarmCheckOnOff() [1/2]

void Basda::Tempo::LakeshoreControllerDevice::setAlarmCheckOnOff ( const int  loop,
const bool state 
)
virtual

◆ setAlarmCheckOnOff() [2/2]

virtual void Basda::Tempo::LakeshoreControllerDevice::setAlarmCheckOnOff ( const int  loop,
const bool state 
)
virtual

◆ setHeaterAnalogOnOff() [1/2]

void Basda::Tempo::LakeshoreControllerDevice::setHeaterAnalogOnOff ( const std::string &  analog)
virtual

◆ setHeaterAnalogOnOff() [2/2]

virtual void Basda::Tempo::LakeshoreControllerDevice::setHeaterAnalogOnOff ( const std::string &  analog)
virtual

◆ setHeaterRange() [1/2]

virtual void Basda::Tempo::LakeshoreControllerDevice::setHeaterRange ( const std::string &  range)
virtual

◆ setHeaterRange() [2/2]

void Basda::Tempo::LakeshoreControllerDevice::setHeaterRange ( const std::string &  range)
virtual

◆ setHighThresholdAlarm() [1/2]

void Basda::Tempo::LakeshoreControllerDevice::setHighThresholdAlarm ( const int  loop,
const double &  highValue 
)
virtual

◆ setHighThresholdAlarm() [2/2]

virtual void Basda::Tempo::LakeshoreControllerDevice::setHighThresholdAlarm ( const int  loop,
const double &  highValue 
)
virtual

◆ setLatchingOnOff() [1/2]

virtual void Basda::Tempo::LakeshoreControllerDevice::setLatchingOnOff ( const int  loop,
const bool state 
)
virtual

◆ setLatchingOnOff() [2/2]

void Basda::Tempo::LakeshoreControllerDevice::setLatchingOnOff ( const int  loop,
const bool state 
)
virtual

◆ setLowThresholdAlarm() [1/2]

void Basda::Tempo::LakeshoreControllerDevice::setLowThresholdAlarm ( const int  loop,
const double &  lowValue 
)
virtual

◆ setLowThresholdAlarm() [2/2]

virtual void Basda::Tempo::LakeshoreControllerDevice::setLowThresholdAlarm ( const int  loop,
const double &  lowValue 
)
virtual

◆ setPIDvalueDC3() [1/2]

void Basda::Tempo::LakeshoreControllerDevice::setPIDvalueDC3 ( const int  loop,
const double &  dvalue 
)
virtual

◆ setPIDvalueDC3() [2/2]

virtual void Basda::Tempo::LakeshoreControllerDevice::setPIDvalueDC3 ( const int  loop,
const double &  dvalue 
)
virtual

◆ setPIDvalueIC2() [1/2]

void Basda::Tempo::LakeshoreControllerDevice::setPIDvalueIC2 ( const int  loop,
const double &  ivalue 
)
virtual

◆ setPIDvalueIC2() [2/2]

virtual void Basda::Tempo::LakeshoreControllerDevice::setPIDvalueIC2 ( const int  loop,
const double &  ivalue 
)
virtual

◆ setPIDvaluePC1() [1/2]

void Basda::Tempo::LakeshoreControllerDevice::setPIDvaluePC1 ( const int  loop,
const double &  pvalue 
)
virtual

◆ setPIDvaluePC1() [2/2]

virtual void Basda::Tempo::LakeshoreControllerDevice::setPIDvaluePC1 ( const int  loop,
const double &  pvalue 
)
virtual

◆ setPropertiesToUnknown() [1/2]

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

◆ setPropertiesToUnknown() [2/2]

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

◆ setRampingOnOff() [1/2]

void Basda::Tempo::LakeshoreControllerDevice::setRampingOnOff ( const int  loop,
const bool state 
)
virtual

◆ setRampingOnOff() [2/2]

virtual void Basda::Tempo::LakeshoreControllerDevice::setRampingOnOff ( const int  loop,
const bool state 
)
virtual

◆ setRampingValue() [1/2]

virtual void Basda::Tempo::LakeshoreControllerDevice::setRampingValue ( const int  loop,
const double &  ramping 
)
virtual

◆ setRampingValue() [2/2]

void Basda::Tempo::LakeshoreControllerDevice::setRampingValue ( const int  loop,
const double &  ramping 
)
virtual

◆ setReachable() [1/2]

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

◆ setReachable() [2/2]

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

◆ setSetpoint() [1/2]

void Basda::Tempo::LakeshoreControllerDevice::setSetpoint ( const int  loop,
const double &  tset 
)
virtual

◆ setSetpoint() [2/2]

virtual void Basda::Tempo::LakeshoreControllerDevice::setSetpoint ( const int  loop,
const double &  tset 
)
virtual

◆ updateProperties() [1/2]

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

◆ updateProperties() [2/2]

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

◆ version() [1/2]

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

return the library version

Implements Basda::Device.

◆ version() [2/2]

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

return the library version

Implements Basda::Device.

Member Data Documentation

◆ m_connection

std::string Basda::Tempo::LakeshoreControllerDevice::m_connection
private

stores the connection address of the device currently connected to

◆ m_data

conDataVector Basda::Tempo::LakeshoreControllerDevice::m_data
protected

◆ m_isInit

bool Basda::Tempo::LakeshoreControllerDevice::m_isInit
private

◆ m_isReachable

bool Basda::Tempo::LakeshoreControllerDevice::m_isReachable
private

◆ m_lakeshore

Basda::Tempo::LakeshoreController331SPtr Basda::Tempo::LakeshoreControllerDevice::m_lakeshore
private

instance of the Lakeshore driver class

◆ m_partNodes

Nice::JointPtrVector Basda::Tempo::LakeshoreControllerDevice::m_partNodes
protected

◆ m_syncMutex

IceUtil::RecMutex Basda::Tempo::LakeshoreControllerDevice::m_syncMutex
private

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