Classes | Public Member Functions | Protected Member Functions | Private Attributes
RTC::ComponentObserverConsumer Class Reference

#include <ComponentObserverConsumer.h>

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

List of all members.

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
virtual void finalize ()
 Finalization.
virtual const
SDOPackage::ServiceProfile & 
getProfile () const
 getting ServiceProfile
virtual bool init (RTObject_impl &rtobj, const SDOPackage::ServiceProfile &profile)
 Initialization.
virtual bool reinit (const SDOPackage::ServiceProfile &profile)
 Re-initialization.
virtual ~ComponentObserverConsumer ()
 dtor

Protected Member Functions

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

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

ctor of ComponentObserverConsumer

Definition at line 34 of file ComponentObserverConsumer.cpp.

dtor

Definition at line 55 of file ComponentObserverConsumer.cpp.


Member Function Documentation

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.

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.

Setting ComponentProfile listener.

Definition at line 582 of file ComponentObserverConsumer.cpp.

Setting RTC status listeners.

Definition at line 331 of file ComponentObserverConsumer.cpp.

Setting Configuration listener.

Definition at line 601 of file ComponentObserverConsumer.cpp.

Setting EC status listener.

Definition at line 498 of file ComponentObserverConsumer.cpp.

Setting heartbeat.

Definition at line 274 of file ComponentObserverConsumer.cpp.

Connectiong listeners to RTObject.

Definition at line 159 of file ComponentObserverConsumer.cpp.

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) [inline, protected]

Converting kind to string.

Definition at line 126 of file ComponentObserverConsumer.h.

Unsetting ComponentProfile listener.

Definition at line 593 of file ComponentObserverConsumer.cpp.

Unsetting RTC status listeners.

Definition at line 377 of file ComponentObserverConsumer.cpp.

Unsetting Configurationlistener.

Definition at line 636 of file ComponentObserverConsumer.cpp.

Unsetting EC status listener.

Definition at line 544 of file ComponentObserverConsumer.cpp.

Unsetting heartbeat.

Definition at line 312 of file ComponentObserverConsumer.cpp.

Unsetting port profile listener.

Definition at line 460 of file ComponentObserverConsumer.cpp.

void RTC::ComponentObserverConsumer::updateStatus ( OpenRTM::StatusKind  statuskind,
const char *  msg 
) [inline, protected]

Calling remote object.

Definition at line 107 of file ComponentObserverConsumer.h.


Member Data Documentation

Definition at line 532 of file ComponentObserverConsumer.h.

Definition at line 535 of file ComponentObserverConsumer.h.

Definition at line 534 of file ComponentObserverConsumer.h.

Definition at line 539 of file ComponentObserverConsumer.h.

Definition at line 538 of file ComponentObserverConsumer.h.

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.

Definition at line 533 of file ComponentObserverConsumer.h.

SDOPackage::ServiceProfile RTC::ComponentObserverConsumer::m_profile [private]

Definition at line 527 of file ComponentObserverConsumer.h.

Definition at line 526 of file ComponentObserverConsumer.h.

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 Sat Jun 8 2019 18:49:13