19 #ifndef RTC_COMPONENTACTIONLISTENER_H
20 #define RTC_COMPONENTACTIONLISTENER_H
27 #include <rtm/idl/RTCSkel.h>
148 static const char* typeString[] =
155 "PRE_ON_DEACTIVATED",
160 "PRE_ON_STATE_UPDATE",
161 "PRE_ON_RATE_CHANGED",
162 "PRE_COMPONENT_ACTION_LISTENER_NUM"
311 static const char* typeString[] =
313 "POST_ON_INITIALIZE",
318 "POST_ON_DEACTIVATED",
323 "POST_ON_STATE_UPDATE",
324 "POST_ON_RATE_CHANGED",
325 "POST_COMPONENT_ACTION_LISTENER_NUM"
329 return typeString[type];
359 ReturnCode_t ret) = 0;
431 static const char* typeString[] =
435 "PORT_ACTION_LISTENER_NUM"
465 virtual void operator()(const ::RTC::PortProfile& pprof) = 0;
538 static const char* typeString[] =
542 "EC_ACTION_LISTENER_NUM"
596 typedef std::pair<PreComponentActionListener*, bool> Entry;
679 std::vector<Entry> m_listeners;
702 typedef std::pair<PostComponentActionListener*, bool> Entry;
786 std::vector<Entry> m_listeners;
810 typedef std::pair<PortActionListener*, bool> Entry;
891 void notify(
const RTC::PortProfile& pprofile);
894 std::vector<Entry> m_listeners;
916 typedef std::pair<ExecutionContextActionListener*, bool> Entry;
1000 std::vector<Entry> m_listeners;
1070 #endif // RTC_COMPONENTACTIONLISTENER_H