TwiceAsNice
2019-02-18
|
#include <StirlingCoolerDevice.h>
Public Types | |
typedef ::Basda::DeviceAsync | DeviceAsync |
typedef ::Basda::DeviceAsync | DeviceAsync |
Public Member Functions | |
StirlingCoolerDevice (const Nice::JointPtr &config) | |
virtual | ~StirlingCoolerDevice () |
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 () |
updates the device's properties cyclicly More... | |
virtual bool | isReachable () |
function to check whether the device is reachable or not More... | |
virtual void | setPIDvaluePC1 (const int loop, const double &valueC1) |
virtual void | setPIDvalueIC2 (const int loop, const double &valueC2) |
virtual void | setPIDvalueDC3 (const int loop, const double &valueC3) |
virtual void | setPIDvalueTsample (const double &valueTsample) |
virtual void | setDefrostTemperature (const double &defrost) |
virtual void | setDefrostStopTemperature (const double &defroststop) |
virtual void | setSetpoint (const int loop, const double &setpoint) |
virtual void | setFanRotation (const int &fanrpm) |
StirlingCoolerDevice (const Nice::JointPtr &config) | |
virtual | ~StirlingCoolerDevice () |
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 () |
updates the device's properties cyclicly More... | |
virtual bool | isReachable () |
function to check whether the device is reachable or not More... | |
virtual void | setPIDvaluePC1 (const int loop, const double &valueC1) |
virtual void | setPIDvalueIC2 (const int loop, const double &valueC2) |
virtual void | setPIDvalueDC3 (const int loop, const double &valueC3) |
virtual void | setPIDvalueTsample (const double &valueTsample) |
virtual void | setDefrostTemperature (const double &defrost) |
virtual void | setDefrostStopTemperature (const double &defroststop) |
virtual void | setSetpoint (const int loop, const double &setpoint) |
virtual void | setFanRotation (const int &fanrpm) |
![]() | |
CoolerDevice (const Nice::JointPtr &config) | |
virtual | ~CoolerDevice () |
CoolerDevice (const Nice::JointPtr &config) | |
virtual | ~CoolerDevice () |
CoolerDevice (const Nice::JointPtr &config) | |
virtual | ~CoolerDevice () |
![]() | |
PidDevice (const Nice::JointPtr &config) | |
virtual | ~PidDevice () |
PidDevice (const Nice::JointPtr &config) | |
virtual | ~PidDevice () |
PidDevice (const Nice::JointPtr &config) | |
virtual | ~PidDevice () |
![]() | |
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 | |
Basda::Tempo::stirlingData | m_data |
![]() | |
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 () |
set related properties to "unknown" in case of error case More... | |
void | handleErrors () |
method to handle error cases More... | |
void | queryDataFromStirlingCooler () |
query from the Stirling cooler the current status and parameters More... | |
void | initStirlingData () |
initializes the internally stored data for the cooler More... | |
void | setReachable (const bool state) |
function to set the reachable flag More... | |
void | setPropertiesToUnknown () |
set related properties to "unknown" in case of error case More... | |
void | handleErrors () |
method to handle error cases More... | |
void | queryDataFromStirlingCooler () |
query from the Stirling cooler the current status and parameters More... | |
void | initStirlingData () |
initializes the internally stored data for the cooler More... | |
Private Attributes | |
Basda::Tempo::HitachiHighProtocolPtr | m_stirling |
instance of the Stirling (Hitachi H-protocol) 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... | |
Additional Inherited Members | |
![]() | |
static DeviceAsyncImpl | s_async |
Basda::Tempo::StirlingCoolerDevice::StirlingCoolerDevice | ( | const Nice::JointPtr & | config | ) |
|
virtual |
Basda::Tempo::StirlingCoolerDevice::StirlingCoolerDevice | ( | 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.
|
private |
method to handle error cases
|
private |
method to handle error cases
|
virtual |
function to init the device.
Implements Basda::Device.
|
virtual |
function to init the device.
Implements Basda::Device.
|
private |
initializes the internally stored data for the cooler
|
private |
initializes the internally stored data for the cooler
|
virtual |
function to check whether the device is reachable or not
Implements Basda::Tempo::TempoDevice.
|
virtual |
function to check whether 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.
|
private |
query from the Stirling cooler the current status and parameters
|
private |
query from the Stirling cooler the current status and parameters
|
virtual |
function to reset the device.
Implements Basda::Device.
|
virtual |
function to reset the device.
Implements Basda::Device.
|
virtual |
Implements Basda::Tempo::CoolerDevice.
|
virtual |
Implements Basda::Tempo::CoolerDevice.
|
virtual |
Implements Basda::Tempo::CoolerDevice.
|
virtual |
Implements Basda::Tempo::CoolerDevice.
|
virtual |
Implements Basda::Tempo::CoolerDevice.
|
virtual |
Implements Basda::Tempo::CoolerDevice.
|
virtual |
Implements Basda::Tempo::PidDevice.
|
virtual |
Implements Basda::Tempo::PidDevice.
|
virtual |
Implements Basda::Tempo::PidDevice.
|
virtual |
Implements Basda::Tempo::PidDevice.
|
virtual |
Implements Basda::Tempo::PidDevice.
|
virtual |
Implements Basda::Tempo::PidDevice.
|
virtual |
Implements Basda::Tempo::CoolerDevice.
|
virtual |
Implements Basda::Tempo::CoolerDevice.
|
private |
set related properties to "unknown" in case of error case
|
private |
set related properties to "unknown" in case of error case
function to set the reachable flag
function to set the reachable flag
|
virtual |
Implements Basda::Tempo::PidDevice.
|
virtual |
Implements Basda::Tempo::PidDevice.
|
virtual |
updates the device's properties cyclicly
Implements Basda::Tempo::TempoDevice.
|
virtual |
updates the device's properties cyclicly
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
|
protected |
|
private |
reachable flag
|
private |
instance of the Stirling (Hitachi H-protocol) driver class
|
private |