#include <ComponentObserverConsumer.h>
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_impl * | m_rtobj |
coil::Timer | m_timer |
Definition at line 40 of file ComponentObserverConsumer.h.
ctor of ComponentObserverConsumer
Definition at line 34 of file ComponentObserverConsumer.cpp.
dtor
Definition at line 55 of file ComponentObserverConsumer.cpp.
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 | ) | [inline, protected] |
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 | ||
) | [inline, protected] |
Calling remote object.
Definition at line 107 of file ComponentObserverConsumer.h.
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.
bool RTC::ComponentObserverConsumer::m_heartbeat [private] |
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.