#include <event_handler.h>

Static Public Member Functions | |
| static void | init () |
| Instanciate the actual event handlers. | |
| static void | cleanup () |
| Delete the event handlers. | |
| static void | remove_event (event *ev) |
| Unregister an event. | |
| static void | raise_event (const event *ev) |
| Check if an event corresponding to ev exists, and execute it. | |
Static Protected Member Functions | |
| static void | register_event (event *ev) |
| Registers an event. | |
Friends | |
| void | event_list::add_event (event *ev) |
| Only event_list is allowed to register events with the event_handler. | |
| void | event::resume () |
| As is event::resume. | |
Definition at line 33 of file event_handler.h.
| void event_handler::init | ( | ) | [static] |
Instanciate the actual event handlers.
Event handlers can be specific to a certain event, or take care of different events.
Definition at line 41 of file event_handler.cc.
| void event_handler::cleanup | ( | void | ) | [static] |
| static void event_handler::remove_event | ( | event * | ev | ) | [inline, static] |
Unregister an event.
| ev | pointer to the event to unregister. |
Definition at line 53 of file event_handler.h.
| static void event_handler::raise_event | ( | const event * | ev | ) | [inline, static] |
Check if an event corresponding to ev exists, and execute it.
| ev | event to raise. |
Definition at line 64 of file event_handler.h.
| static void event_handler::register_event | ( | event * | ev | ) | [inline, static, protected] |
Registers an event.
| ev | pointer to the event to register. |
Definition at line 75 of file event_handler.h.
| void event_list::add_event | ( | event * | ev | ) | [friend] |
Only event_list is allowed to register events with the event_handler.
| void event::resume | ( | ) | [friend] |
As is event::resume.
1.5.6