Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | Related Pages | Examples

ColCOWS::EventHandlerManager Class Reference

#include <ColCOWS_EventHandlerManager.hh>

Inheritance diagram for ColCOWS::EventHandlerManager:

Inheritance graph
[legend]
Collaboration diagram for ColCOWS::EventHandlerManager:

Collaboration graph
[legend]
List of all members.

Detailed Description

ColCOWS event handler manger.

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
NodegetColCOWSNode () 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


The documentation for this class was generated from the following files:
Generated on Tue Jun 21 12:55:58 2005 for ColCOWS by  doxygen 1.4.1