#include <ColCOWS_EventHandlerManager.hh>
Inheritance diagram for ColCOWS::EventHandlerManager:
The EventHandlers allow the user to catch and react to events of workspace life-cycle (activation, connection, disconnection). This class manages several event handlers and forwards them the ColCOWS events.
Definition at line 50 of file ColCOWS_EventHandlerManager.hh.
Public Member Functions | |
EventHandlerManager () | |
constructor | |
virtual | ~EventHandlerManager () |
destructor | |
unsigned int | addEventHandler (EventHandler *event_handler) |
add an event handler in the manager | |
void | removeEventHandler (unsigned int key) |
remove an event handler from the manager | |
Node * | getColCOWSNode () const |
get ColCOWS Node pointer | |
void | setColCOWSNode (Node *colcows_node) |
get ColCOWS Node pointer | |
Protected Member Functions | |
void | onActivation () |
treatment on the activation of the workspace | |
void | onDeactivation () |
treatment on the deactivation of the workspace | |
void | onConnection (unsigned long num_connection, bool initiator) |
treatment on the connection of a workspace | |
void | onDisconnection (unsigned long num_connection) |
treatment on a disconnection | |
Protected Attributes | |
Node * | _colcows_node |
associated Node | |
unsigned int | _max_key |
max key | |
Friends | |
class | Node |