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 Sat Jan 6 23:06:33 2007 for incron by  doxygen 1.5.1