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

#include <DeviceUei207Monitor.h>

Inheritance diagram for Basda::Tempo::uei::DeviceUei207Monitor:
Inheritance graph
Collaboration diagram for Basda::Tempo::uei::DeviceUei207Monitor:
Collaboration graph

Public Types

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

Public Member Functions

 DeviceUei207Monitor (const Nice::JointPtr &config)
 constructor More...
 
virtual ~DeviceUei207Monitor ()
 virtual destructor More...
 
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 ()
 Update the properties of the device. More...
 
virtual bool isReachable ()
 Returns true if the device is reachable. More...
 
virtual Nice::JointPtrVectordescription (void)
 function to read the description More...
 
 DeviceUei207Monitor (const Nice::JointPtr &config)
 constructor More...
 
virtual ~DeviceUei207Monitor ()
 virtual destructor More...
 
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 ()
 Update the properties of the device. More...
 
virtual bool isReachable ()
 Returns true if the device is reachable. More...
 
virtual Nice::JointPtrVectordescription (void)
 function to read the description More...
 
- 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 partNodes_
 vector containing the children More...
 
- 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 setAsReachable (const bool state)
 
void setPropertiesAsUnknown ()
 
void setTemperatureProperty (int temp)
 
void handleErrors (const std::string message)
 
void setAsReachable (const bool state)
 
void setPropertiesAsUnknown ()
 
void setTemperatureProperty (int temp)
 
void handleErrors (const std::string message)
 

Private Attributes

std::string conAddr_
 stores the address of the device currently connected to More...
 
UeiDna207Ptr uei207_
 
unsigned short numberOfChannels_
 
std::map< std::string, unsigned short > channelNumber_
 
IceUtil::RecMutex syncMutex_
 
bool isReachable_
 

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

◆ DeviceUei207Monitor() [1/2]

DeviceUei207Monitor::DeviceUei207Monitor ( const Nice::JointPtr config)

constructor

Parameters
configconfiguration tree

◆ ~DeviceUei207Monitor() [1/2]

DeviceUei207Monitor::~DeviceUei207Monitor ( )
virtual

virtual destructor

◆ DeviceUei207Monitor() [2/2]

Basda::Tempo::uei::DeviceUei207Monitor::DeviceUei207Monitor ( const Nice::JointPtr config)

constructor

Parameters
configconfiguration tree

◆ ~DeviceUei207Monitor() [2/2]

virtual Basda::Tempo::uei::DeviceUei207Monitor::~DeviceUei207Monitor ( )
virtual

virtual destructor

Member Function Documentation

◆ activate() [1/2]

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

activate the device

Implements Basda::Device.

◆ activate() [2/2]

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

activate the device

Implements Basda::Device.

◆ close() [1/2]

virtual void Basda::Tempo::uei::DeviceUei207Monitor::close ( void  )
virtual

function to close the connection to the device.

Implements Basda::Device.

◆ close() [2/2]

void DeviceUei207Monitor::close ( void  )
virtual

function to close the connection to the device.

Implements Basda::Device.

◆ deactivate() [1/2]

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

deactivate the device

Implements Basda::Device.

◆ deactivate() [2/2]

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

deactivate the device

Implements Basda::Device.

◆ deinit() [1/2]

void DeviceUei207Monitor::deinit ( Basda::DeviceAsync _async = ::Basda::Device::s_async)
virtual

function to deinit the device.

Implements Basda::Device.

◆ deinit() [2/2]

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

function to deinit the device.

Implements Basda::Device.

◆ description() [1/2]

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

function to read the description

Returns
vector containing all informations

◆ description() [2/2]

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

function to read the description

Returns
vector containing all informations

◆ handleErrors() [1/2]

void Basda::Tempo::uei::DeviceUei207Monitor::handleErrors ( const std::string  message)
private

◆ handleErrors() [2/2]

void DeviceUei207Monitor::handleErrors ( const std::string  message)
private

◆ init() [1/2]

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

function to init the device.

Implements Basda::Device.

◆ init() [2/2]

void DeviceUei207Monitor::init ( Basda::DeviceAsync _async = Basda::Device::s_async)
virtual

function to init the device.

Implements Basda::Device.

◆ isReachable() [1/2]

bool DeviceUei207Monitor::isReachable ( )
virtual

Returns true if the device is reachable.

Otherwise returns false.

Implements Basda::Tempo::TempoDevice.

◆ isReachable() [2/2]

virtual bool Basda::Tempo::uei::DeviceUei207Monitor::isReachable ( )
virtual

Returns true if the device is reachable.

Otherwise returns false.

Implements Basda::Tempo::TempoDevice.

◆ open() [1/2]

void DeviceUei207Monitor::open ( void  )
virtual

function to open the connection to the device.

Implements Basda::Device.

◆ open() [2/2]

virtual void Basda::Tempo::uei::DeviceUei207Monitor::open ( void  )
virtual

function to open the connection to the device.

Implements Basda::Device.

◆ reset() [1/2]

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

function to reset the device.

Implements Basda::Device.

◆ reset() [2/2]

void DeviceUei207Monitor::reset ( Basda::DeviceAsync _async = ::Basda::Device::s_async)
virtual

function to reset the device.

Implements Basda::Device.

◆ setAsReachable() [1/2]

void Basda::Tempo::uei::DeviceUei207Monitor::setAsReachable ( const bool  state)
private

◆ setAsReachable() [2/2]

void DeviceUei207Monitor::setAsReachable ( const bool  state)
private

◆ setPropertiesAsUnknown() [1/2]

void DeviceUei207Monitor::setPropertiesAsUnknown ( )
private

◆ setPropertiesAsUnknown() [2/2]

void Basda::Tempo::uei::DeviceUei207Monitor::setPropertiesAsUnknown ( )
private

◆ setTemperatureProperty() [1/2]

void Basda::Tempo::uei::DeviceUei207Monitor::setTemperatureProperty ( int  temp)
private

◆ setTemperatureProperty() [2/2]

void Basda::Tempo::uei::DeviceUei207Monitor::setTemperatureProperty ( int  temp)
private

◆ updateProperties() [1/2]

virtual void Basda::Tempo::uei::DeviceUei207Monitor::updateProperties ( )
virtual

Update the properties of the device.

Implements Basda::Tempo::TempoDevice.

◆ updateProperties() [2/2]

void DeviceUei207Monitor::updateProperties ( )
virtual

Update the properties of the device.

Implements Basda::Tempo::TempoDevice.

◆ version() [1/2]

virtual void Basda::Tempo::uei::DeviceUei207Monitor::version ( )
virtual

return the library version

Implements Basda::Device.

◆ version() [2/2]

void DeviceUei207Monitor::version ( void  )
virtual

return the library version

Implements Basda::Device.

Member Data Documentation

◆ channelNumber_

std::map< std::string, unsigned short > Basda::Tempo::uei::DeviceUei207Monitor::channelNumber_
private

◆ conAddr_

std::string Basda::Tempo::uei::DeviceUei207Monitor::conAddr_
private

stores the address of the device currently connected to

◆ isReachable_

bool Basda::Tempo::uei::DeviceUei207Monitor::isReachable_
private

◆ numberOfChannels_

unsigned short Basda::Tempo::uei::DeviceUei207Monitor::numberOfChannels_
private

◆ partNodes_

Nice::JointPtrVector Basda::Tempo::uei::DeviceUei207Monitor::partNodes_
protected

vector containing the children

◆ syncMutex_

IceUtil::RecMutex Basda::Tempo::uei::DeviceUei207Monitor::syncMutex_
private

◆ uei207_

UeiDna207Ptr Basda::Tempo::uei::DeviceUei207Monitor::uei207_
private

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