ExecutionContextActionListener holder class. More...
#include <ComponentActionListener.h>
Public Member Functions | |
| ExecutionContextActionListenerHolder () | |
| Constructor.   | |
| virtual | ~ExecutionContextActionListenerHolder () | 
| Destructor.   | |
| void | addListener (ExecutionContextActionListener *listener, bool autoclean) | 
| Add the listener.   | |
| void | removeListener (ExecutionContextActionListener *listener) | 
| Remove the listener.   | |
| void | notify (UniqueId ec_id) | 
| Notify listeners.   | |
ExecutionContextActionListener holder class.
This class manages one ore more instances of ExecutionContextActionListener class.
| RTC::ExecutionContextActionListenerHolder::ExecutionContextActionListenerHolder | ( | ) | 
Constructor.
| virtual RTC::ExecutionContextActionListenerHolder::~ExecutionContextActionListenerHolder | ( | ) |  [virtual] | 
        
Destructor.
| void RTC::ExecutionContextActionListenerHolder::addListener | ( | ExecutionContextActionListener * | listener, | |
| bool | autoclean | |||
| ) | 
Add the listener.
This method adds the listener.
| listener | Added listener | |
| autoclean | true:The listener is deleted at the destructor., false:The listener is not deleted at the destructor. | 
| void RTC::ExecutionContextActionListenerHolder::notify | ( | UniqueId | ec_id | ) | 
Notify listeners.
This calls the Callback method of the registered listener.
| info | ConnectorInfo | |
| cdrdata | Data | 
Referenced by RTC::RTObject_impl::onAttachExecutionContext(), and RTC::RTObject_impl::onDetachExecutionContext().
| void RTC::ExecutionContextActionListenerHolder::removeListener | ( | ExecutionContextActionListener * | listener | ) | 
Remove the listener.
This method removes the listener.
| listener | Removed listener | 
 1.6.3