Classes | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
RTC::ComponentObserverConsumer Class Reference

#include <ComponentObserverConsumer.h>

Inheritance diagram for RTC::ComponentObserverConsumer:
Inheritance graph
[legend]

Classes

class  CompStatMsg
 PostComponentActionListener class. More...
 
class  ConfigAction
 ConfigActionListener. More...
 
class  ECAction
 ExecutionContextActionListener. More...
 
class  PortAction
 PortActionListener. More...
 

Public Member Functions

 ComponentObserverConsumer ()
 ctor of ComponentObserverConsumer More...
 
virtual void finalize ()
 Finalization. More...
 
virtual const SDOPackage::ServiceProfile & getProfile () const
 getting ServiceProfile More...
 
virtual bool init (RTObject_impl &rtobj, const SDOPackage::ServiceProfile &profile)
 Initialization. More...
 
virtual bool reinit (const SDOPackage::ServiceProfile &profile)
 Re-initialization. More...
 
virtual ~ComponentObserverConsumer ()
 dtor More...
 
- Public Member Functions inherited from RTC::SdoServiceConsumerBase
virtual ~SdoServiceConsumerBase ()
 virtual destructor More...
 

Protected Member Functions

void heartbeat ()
 Sending a heartbeart signal to observer. More...
 
void setComponentProfileListeners ()
 Setting ComponentProfile listener. More...
 
void setComponentStatusListeners ()
 Setting RTC status listeners. More...
 
void setConfigurationListeners ()
 Setting Configuration listener. More...
 
void setExecutionContextListeners ()
 Setting EC status listener. More...
 
void setHeartbeat (coil::Properties &prop)
 Setting heartbeat. More...
 
void setListeners (coil::Properties &prop)
 Connectiong listeners to RTObject. More...
 
void setPortProfileListeners ()
 Setting port profile listener. More...
 
void switchListeners (bool &next, bool &pre, void(ComponentObserverConsumer::*setfunc)(), void(ComponentObserverConsumer::*unsetfunc)())
 Switching listeners connecting/disconnecting. More...
 
const char * toString (OpenRTM::StatusKind kind)
 Converting kind to string. More...
 
void unsetComponentProfileListeners ()
 Unsetting ComponentProfile listener. More...
 
void unsetComponentStatusListeners ()
 Unsetting RTC status listeners. More...
 
void unsetConfigurationListeners ()
 Unsetting Configurationlistener. More...
 
void unsetExecutionContextListeners ()
 Unsetting EC status listener. More...
 
void unsetHeartbeat ()
 Unsetting heartbeat. More...
 
void unsetPortProfileListeners ()
 Unsetting port profile listener. More...
 
void updateStatus (OpenRTM::StatusKind statuskind, const char *msg)
 Calling remote object. More...
 

Private Attributes

CompStatMsg m_compstat
 
ConfigAction m_configMsg
 
ECAction m_ecaction
 
ListenerId m_hblistenerid
 
bool m_heartbeat
 
coil::TimeValue m_interval
 
bool m_observed [OpenRTM::STATUS_KIND_NUM]
 
CorbaConsumer< OpenRTM::ComponentObserver > m_observer
 
PortAction m_portaction
 
SDOPackage::ServiceProfile m_profile
 
RTC::RTObject_implm_rtobj
 
coil::Timer m_timer
 

Detailed Description

Definition at line 40 of file ComponentObserverConsumer.h.

Constructor & Destructor Documentation

RTC::ComponentObserverConsumer::ComponentObserverConsumer ( )

ctor of ComponentObserverConsumer

Definition at line 34 of file ComponentObserverConsumer.cpp.

RTC::ComponentObserverConsumer::~ComponentObserverConsumer ( )
virtual

dtor

Definition at line 55 of file ComponentObserverConsumer.cpp.

Member Function Documentation

void RTC::ComponentObserverConsumer::finalize ( )
virtual

Finalization.

Implements RTC::SdoServiceConsumerBase.

Definition at line 139 of file ComponentObserverConsumer.cpp.

const SDOPackage::ServiceProfile & RTC::ComponentObserverConsumer::getProfile ( ) const
virtual

getting ServiceProfile

Implements RTC::SdoServiceConsumerBase.

Definition at line 127 of file ComponentObserverConsumer.cpp.

void RTC::ComponentObserverConsumer::heartbeat ( )
protected

Sending a heartbeart signal to observer.

Definition at line 262 of file ComponentObserverConsumer.cpp.

bool RTC::ComponentObserverConsumer::init ( RTObject_impl rtobj,
const SDOPackage::ServiceProfile &  profile 
)
virtual

Initialization.

Implements RTC::SdoServiceConsumerBase.

Definition at line 73 of file ComponentObserverConsumer.cpp.

bool RTC::ComponentObserverConsumer::reinit ( const SDOPackage::ServiceProfile &  profile)
virtual

Re-initialization.

Implements RTC::SdoServiceConsumerBase.

Definition at line 99 of file ComponentObserverConsumer.cpp.

void RTC::ComponentObserverConsumer::setComponentProfileListeners ( )
protected

Setting ComponentProfile listener.

Definition at line 582 of file ComponentObserverConsumer.cpp.

void RTC::ComponentObserverConsumer::setComponentStatusListeners ( )
protected

Setting RTC status listeners.

Definition at line 331 of file ComponentObserverConsumer.cpp.

void RTC::ComponentObserverConsumer::setConfigurationListeners ( )
protected

Setting Configuration listener.

Definition at line 601 of file ComponentObserverConsumer.cpp.

void RTC::ComponentObserverConsumer::setExecutionContextListeners ( )
protected

Setting EC status listener.

Definition at line 498 of file ComponentObserverConsumer.cpp.

void RTC::ComponentObserverConsumer::setHeartbeat ( coil::Properties prop)
protected

Setting heartbeat.

Definition at line 274 of file ComponentObserverConsumer.cpp.

void RTC::ComponentObserverConsumer::setListeners ( coil::Properties prop)
protected

Connectiong listeners to RTObject.

Definition at line 159 of file ComponentObserverConsumer.cpp.

void RTC::ComponentObserverConsumer::setPortProfileListeners ( )
protected

Setting port profile listener.

Definition at line 421 of file ComponentObserverConsumer.cpp.

void RTC::ComponentObserverConsumer::switchListeners ( bool &  next,
bool &  pre,
void(ComponentObserverConsumer::*)()  setfunc,
void(ComponentObserverConsumer::*)()  unsetfunc 
)
protected

Switching listeners connecting/disconnecting.

Definition at line 236 of file ComponentObserverConsumer.cpp.

const char* RTC::ComponentObserverConsumer::toString ( OpenRTM::StatusKind  kind)
inlineprotected

Converting kind to string.

Definition at line 126 of file ComponentObserverConsumer.h.

void RTC::ComponentObserverConsumer::unsetComponentProfileListeners ( )
protected

Unsetting ComponentProfile listener.

Definition at line 593 of file ComponentObserverConsumer.cpp.

void RTC::ComponentObserverConsumer::unsetComponentStatusListeners ( )
protected

Unsetting RTC status listeners.

Definition at line 377 of file ComponentObserverConsumer.cpp.

void RTC::ComponentObserverConsumer::unsetConfigurationListeners ( )
protected

Unsetting Configurationlistener.

Definition at line 636 of file ComponentObserverConsumer.cpp.

void RTC::ComponentObserverConsumer::unsetExecutionContextListeners ( )
protected

Unsetting EC status listener.

Definition at line 544 of file ComponentObserverConsumer.cpp.

void RTC::ComponentObserverConsumer::unsetHeartbeat ( )
protected

Unsetting heartbeat.

Definition at line 312 of file ComponentObserverConsumer.cpp.

void RTC::ComponentObserverConsumer::unsetPortProfileListeners ( )
protected

Unsetting port profile listener.

Definition at line 460 of file ComponentObserverConsumer.cpp.

void RTC::ComponentObserverConsumer::updateStatus ( OpenRTM::StatusKind  statuskind,
const char *  msg 
)
inlineprotected

Calling remote object.

Definition at line 107 of file ComponentObserverConsumer.h.

Member Data Documentation

CompStatMsg RTC::ComponentObserverConsumer::m_compstat
private

Definition at line 532 of file ComponentObserverConsumer.h.

ConfigAction RTC::ComponentObserverConsumer::m_configMsg
private

Definition at line 535 of file ComponentObserverConsumer.h.

ECAction RTC::ComponentObserverConsumer::m_ecaction
private

Definition at line 534 of file ComponentObserverConsumer.h.

ListenerId RTC::ComponentObserverConsumer::m_hblistenerid
private

Definition at line 539 of file ComponentObserverConsumer.h.

bool RTC::ComponentObserverConsumer::m_heartbeat
private

Definition at line 538 of file ComponentObserverConsumer.h.

coil::TimeValue RTC::ComponentObserverConsumer::m_interval
private

Definition at line 537 of file ComponentObserverConsumer.h.

bool RTC::ComponentObserverConsumer::m_observed[OpenRTM::STATUS_KIND_NUM]
private

Definition at line 530 of file ComponentObserverConsumer.h.

CorbaConsumer<OpenRTM::ComponentObserver> RTC::ComponentObserverConsumer::m_observer
private

Definition at line 528 of file ComponentObserverConsumer.h.

PortAction RTC::ComponentObserverConsumer::m_portaction
private

Definition at line 533 of file ComponentObserverConsumer.h.

SDOPackage::ServiceProfile RTC::ComponentObserverConsumer::m_profile
private

Definition at line 527 of file ComponentObserverConsumer.h.

RTC::RTObject_impl* RTC::ComponentObserverConsumer::m_rtobj
private

Definition at line 526 of file ComponentObserverConsumer.h.

coil::Timer RTC::ComponentObserverConsumer::m_timer
private

Definition at line 542 of file ComponentObserverConsumer.h.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Jun 10 2019 14:08:03