#include <eventdispatcher.h>
Public Member Functions | |
| EventDispatcher () | |
| virtual | ~EventDispatcher () |
| void | dispatch (const Event &event, const std::string &context, bool remove) |
| void | dispatch (const Event &event) |
| void | registerEventHandler (EventHandler *eh, const std::string &context) |
| void | removeEventHandler (EventHandler *eh) |
Definition at line 33 of file eventdispatcher.h.
|
|
Creates a new EventDispatcher object. You should not need to use this class directly. Definition at line 20 of file eventdispatcher.cpp. |
|
|
Virtual Destructor. Definition at line 24 of file eventdispatcher.cpp. |
|
|
Looks for handlers for the given Event, identified by its type.
Definition at line 43 of file eventdispatcher.cpp. |
|
||||||||||||||||
|
Looks for handlers for the given Event, and removes the handlers if requested.
Definition at line 28 of file eventdispatcher.cpp. |
|
||||||||||||
|
Registers the given EventHandler to be notified about Events with the given context. The context will usually be an IQ ID.
Definition at line 53 of file eventdispatcher.cpp. |
|
|
Removes the given EventHandler.
Definition at line 61 of file eventdispatcher.cpp. |
1.4.1