Main Page | Class List | File List | Class Members | File Members

EventDispatcher Class Reference

Event dispatcher class. More...

#include <usertable.h>

List of all members.

Public Member Functions

 EventDispatcher (Inotify *pIn)
 Constructor.
 ~EventDispatcher ()
 Destructor.
void DispatchEvent (InotifyEvent &rEvt)
 Dispatches an event.
void Register (InotifyWatch *pWatch, UserTable *pTab)
 Registers a watch for an user table.
void Unregister (InotifyWatch *pWatch)
 Unregisters a watch.
void UnregisterAll (UserTable *pTab)
 Unregisters all watches for an user table.


Detailed Description

Event dispatcher class.

This class distributes inotify events to appropriate user tables.


Constructor & Destructor Documentation

EventDispatcher::EventDispatcher Inotify pIn  ) 
 

Constructor.

Parameters:
[in] pIn inotify object

EventDispatcher::~EventDispatcher  )  [inline]
 

Destructor.


Member Function Documentation

void EventDispatcher::DispatchEvent InotifyEvent rEvt  ) 
 

Dispatches an event.

Parameters:
[in] rEvt inotify event

void EventDispatcher::Register InotifyWatch pWatch,
UserTable pTab
 

Registers a watch for an user table.

Parameters:
[in] pWatch inotify watch
[in] pTab user table

void EventDispatcher::Unregister InotifyWatch pWatch  ) 
 

Unregisters a watch.

Parameters:
[in] pWatch inotify watch

void EventDispatcher::UnregisterAll UserTable pTab  ) 
 

Unregisters all watches for an user table.

Parameters:
[in] pTab user table


The documentation for this class was generated from the following files:
Generated on Wed Oct 4 19:51:39 2006 for incron by  doxygen 1.4.4