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;
676 void notify(UniqueId ec_id);
679 std::vector<Entry> m_listeners;
702 typedef std::pair<PostComponentActionListener*, bool> Entry;
783 void notify(UniqueId ec_id, ReturnCode_t ret);
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;
997 void notify(UniqueId ec_id);
1000 std::vector<Entry> m_listeners;
1070 #endif // RTC_COMPONENTACTIONLISTENER_H Definition: ComponentActionListener.h:486
Definition: ComponentActionListener.h:228
Definition: ComponentActionListener.h:59
Definition: ComponentActionListener.h:227
static const char * toString(PortActionListenerType type)
Convert PreComponentActionListenerType into the string.
Definition: ComponentActionListener.h:429
PreComponentActionListener holder class.
Definition: ComponentActionListener.h:594
Definition: ComponentActionListener.h:485
Definition: ComponentActionListener.h:64
PostComponentActionListenerType
The types of ConnectorDataListener.
Definition: ComponentActionListener.h:219
ExecutionContextActionListener holder class.
Definition: ComponentActionListener.h:914
PortActionListener holder class.
Definition: ComponentActionListener.h:808
Definition: ComponentActionListener.h:61
Definition: ComponentActionListener.h:233
Mutex class.
Definition: Mutex.h:40
Definition: ComponentActionListener.h:487
Definition: ComponentActionListener.h:67
Definition: ComponentActionListener.h:71
PortActionListenerType
The types of PortActionListener.
Definition: ComponentActionListener.h:376
Definition: ComponentActionListener.h:226
static const char * toString(ExecutionContextActionListenerType type)
Convert PreComponentActionListenerType into the string.
Definition: ComponentActionListener.h:536
Definition: ComponentActionListener.h:380
PreComponentActionListenerType
The types of ConnectorDataListener.
Definition: ComponentActionListener.h:57
Definition: ComponentActionListener.h:62
coil::Guard< coil::Mutex > Guard
Definition: LocalServiceAdmin.h:36
Definition: ComponentActionListener.h:68
PreComponentActionListener class.
Definition: ComponentActionListener.h:120
Definition: ComponentActionListener.h:379
Definition: ComponentActionListener.h:231
Definition: ComponentActionListener.h:66
Definition: ComponentActionListener.h:69
ExecutionContextHandle_t UniqueId
Definition: ComponentActionListener.h:32
Definition: ComponentActionListener.h:229
static const char * toString(PostComponentActionListenerType type)
Convert PostComponentActionListenerType into the string.
Definition: ComponentActionListener.h:309
Definition: ComponentActionListener.h:221
ComponentActionListeners class.
Definition: ComponentActionListener.h:1018
Definition: ComponentActionListener.h:378
virtual void operator()(UniqueId ec_id)=0
Virtual Callback function.
Definition: ComponentActionListener.h:222
Definition: ComponentActionListener.h:70
PostComponentActionListener holder class.
Definition: ComponentActionListener.h:700
static const char * toString(PreComponentActionListenerType type)
Convert PreComponentActionListenerType into the string.
Definition: ComponentActionListener.h:146
Definition: ComponentActionListener.h:225
Definition: ComponentActionListener.h:223
Definition: ComponentActionListener.h:65
Definition: ComponentActionListener.h:224
ExecutionContextActionListenerType
The types of ExecutionContextActionListener.
Definition: ComponentActionListener.h:483
Definition: ComponentActionListener.h:230
PortActionListener class.
Definition: ComponentActionListener.h:403
virtual ~PreComponentActionListener()
Destructor.
Definition: ComponentActionListener.h:60
Definition: ComponentActionListener.h:63
PostComponentActionListener class.
Definition: ComponentActionListener.h:283
Definition: ComponentActionListener.h:232
ExecutionContextActionListener class.
Definition: ComponentActionListener.h:510