TwiceAsNice
2019-02-18
|
#include <UnimodDevice.h>
Public Types | |
typedef ::Basda::DeviceAsync | DeviceAsync |
typedef ::Basda::DeviceAsync | DeviceAsync |
Public Member Functions | |
UnimodDevice (const Nice::JointPtr &config) | |
virtual | ~UnimodDevice () |
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 whether the device is reachable or not More... | |
void | setReachable (const bool state) |
void | queryDataFromUnimod () |
UnimodDevice (const Nice::JointPtr &config) | |
virtual | ~UnimodDevice () |
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 whether the device is reachable or not More... | |
void | setReachable (const bool state) |
void | queryDataFromUnimod () |
![]() | |
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... | |
Private Member Functions | |
void | setPropertiesToUnknown () |
void | handleErrors () |
void | doLog () |
work-around method for logging data into a file at a certain rate More... | |
void | setPropertiesToUnknown () |
void | handleErrors () |
void | doLog () |
work-around method for logging data into a file at a certain rate More... | |
Private Attributes | |
std::string | m_connection |
stores the connection address of the device currently connected to More... | |
IceUtil::RecMutex | m_syncMutex |
std::fstream | m_log |
std::string | m_logFile |
bool | m_isLogging |
Nice::Time | m_logFreq |
Nice::Timer | m_logUpdate |
std::string | m_logZabHost |
std::string | m_logZabHostIP |
bool | m_isReachable |
reachable flag More... | |
Additional Inherited Members | |
![]() | |
static DeviceAsyncImpl | s_async |
![]() | |
Nice::JointPtr | m_config |
Nice::JointPtr | m_cfg |
Nice::JointPtr | m_var |
std::string | m_name |
Basda::Tempo::UnimodDevice::UnimodDevice | ( | const Nice::JointPtr & | config | ) |
|
virtual |
Basda::Tempo::UnimodDevice::UnimodDevice | ( | 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 |
work-around method for logging data into a file at a certain rate
|
private |
work-around method for logging data into a file at a certain rate
|
private |
|
private |
|
virtual |
function to init the device.
Implements Basda::Device.
|
virtual |
function to init the device.
Implements Basda::Device.
|
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.
void Basda::Tempo::UnimodDevice::queryDataFromUnimod | ( | ) |
void Basda::Tempo::UnimodDevice::queryDataFromUnimod | ( | ) |
|
virtual |
function to reset the device.
Implements Basda::Device.
|
virtual |
function to reset the device.
Implements Basda::Device.
|
private |
|
private |
|
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 |
|
private |
reachable flag
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |