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

◆ ComponentObserverConsumer()

RTC::ComponentObserverConsumer::ComponentObserverConsumer ( )

ctor of ComponentObserverConsumer

Definition at line 34 of file ComponentObserverConsumer.cpp.

◆ ~ComponentObserverConsumer()

RTC::ComponentObserverConsumer::~ComponentObserverConsumer ( )
virtual

dtor

Definition at line 55 of file ComponentObserverConsumer.cpp.

Member Function Documentation

◆ finalize()

void RTC::ComponentObserverConsumer::finalize ( )
virtual

Finalization.

Implements RTC::SdoServiceConsumerBase.

Definition at line 139 of file ComponentObserverConsumer.cpp.

◆ getProfile()

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

getting ServiceProfile

Implements RTC::SdoServiceConsumerBase.

Definition at line 127 of file ComponentObserverConsumer.cpp.

◆ heartbeat()

void RTC::ComponentObserverConsumer::heartbeat ( )
protected

Sending a heartbeart signal to observer.

Definition at line 262 of file ComponentObserverConsumer.cpp.

◆ init()

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

Initialization.

Implements RTC::SdoServiceConsumerBase.

Definition at line 73 of file ComponentObserverConsumer.cpp.

◆ reinit()

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

Re-initialization.

Implements RTC::SdoServiceConsumerBase.

Definition at line 99 of file ComponentObserverConsumer.cpp.

◆ setComponentProfileListeners()

void RTC::ComponentObserverConsumer::setComponentProfileListeners ( )
protected

Setting ComponentProfile listener.

Definition at line 582 of file ComponentObserverConsumer.cpp.

◆ setComponentStatusListeners()

void RTC::ComponentObserverConsumer::setComponentStatusListeners ( )
protected

Setting RTC status listeners.

Definition at line 331 of file ComponentObserverConsumer.cpp.

◆ setConfigurationListeners()

void RTC::ComponentObserverConsumer::setConfigurationListeners ( )
protected

Setting Configuration listener.

Definition at line 601 of file ComponentObserverConsumer.cpp.

◆ setExecutionContextListeners()

void RTC::ComponentObserverConsumer::setExecutionContextListeners ( )
protected

Setting EC status listener.

Definition at line 498 of file ComponentObserverConsumer.cpp.

◆ setHeartbeat()

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

Setting heartbeat.

Definition at line 274 of file ComponentObserverConsumer.cpp.

◆ setListeners()

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

Connectiong listeners to RTObject.

Definition at line 159 of file ComponentObserverConsumer.cpp.

◆ setPortProfileListeners()

void RTC::ComponentObserverConsumer::setPortProfileListeners ( )
protected

Setting port profile listener.

Definition at line 421 of file ComponentObserverConsumer.cpp.

◆ switchListeners()

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.

◆ toString()

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

Converting kind to string.

Definition at line 126 of file ComponentObserverConsumer.h.

◆ unsetComponentProfileListeners()

void RTC::ComponentObserverConsumer::unsetComponentProfileListeners ( )
protected

Unsetting ComponentProfile listener.

Definition at line 593 of file ComponentObserverConsumer.cpp.

◆ unsetComponentStatusListeners()

void RTC::ComponentObserverConsumer::unsetComponentStatusListeners ( )
protected

Unsetting RTC status listeners.

Definition at line 377 of file ComponentObserverConsumer.cpp.

◆ unsetConfigurationListeners()

void RTC::ComponentObserverConsumer::unsetConfigurationListeners ( )
protected

Unsetting Configurationlistener.

Definition at line 636 of file ComponentObserverConsumer.cpp.

◆ unsetExecutionContextListeners()

void RTC::ComponentObserverConsumer::unsetExecutionContextListeners ( )
protected

Unsetting EC status listener.

Definition at line 544 of file ComponentObserverConsumer.cpp.

◆ unsetHeartbeat()

void RTC::ComponentObserverConsumer::unsetHeartbeat ( )
protected

Unsetting heartbeat.

Definition at line 312 of file ComponentObserverConsumer.cpp.

◆ unsetPortProfileListeners()

void RTC::ComponentObserverConsumer::unsetPortProfileListeners ( )
protected

Unsetting port profile listener.

Definition at line 460 of file ComponentObserverConsumer.cpp.

◆ updateStatus()

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

◆ m_compstat

CompStatMsg RTC::ComponentObserverConsumer::m_compstat
private

Definition at line 532 of file ComponentObserverConsumer.h.

◆ m_configMsg

ConfigAction RTC::ComponentObserverConsumer::m_configMsg
private

Definition at line 535 of file ComponentObserverConsumer.h.

◆ m_ecaction

ECAction RTC::ComponentObserverConsumer::m_ecaction
private

Definition at line 534 of file ComponentObserverConsumer.h.

◆ m_hblistenerid

ListenerId RTC::ComponentObserverConsumer::m_hblistenerid
private

Definition at line 539 of file ComponentObserverConsumer.h.

◆ m_heartbeat

bool RTC::ComponentObserverConsumer::m_heartbeat
private

Definition at line 538 of file ComponentObserverConsumer.h.

◆ m_interval

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

Definition at line 537 of file ComponentObserverConsumer.h.

◆ m_observed

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

Definition at line 530 of file ComponentObserverConsumer.h.

◆ m_observer

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

Definition at line 528 of file ComponentObserverConsumer.h.

◆ m_portaction

PortAction RTC::ComponentObserverConsumer::m_portaction
private

Definition at line 533 of file ComponentObserverConsumer.h.

◆ m_profile

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

Definition at line 527 of file ComponentObserverConsumer.h.

◆ m_rtobj

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

Definition at line 526 of file ComponentObserverConsumer.h.

◆ m_timer

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 Feb 28 2022 23:00:47