It ensures global access to the individual event handlers.
More...
#include <event_handler.h>
It ensures global access to the individual event handlers.
Definition at line 37 of file event_handler.h.
◆ init()
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 45 of file event_handler.cc.
◆ cleanup()
void event_handler::cleanup |
( |
| ) |
|
|
static |
◆ remove_event()
static void event_handler::remove_event |
( |
event * |
ev | ) |
|
|
inlinestatic |
Unregister an event.
- Parameters
-
ev | pointer to the event to unregister. |
Definition at line 57 of file event_handler.h.
◆ raise_event()
static void event_handler::raise_event |
( |
const event * |
ev | ) |
|
|
inlinestatic |
Check if an event corresponding to ev exists, and execute it.
- Parameters
-
Definition at line 68 of file event_handler.h.
◆ register_event()
static void event_handler::register_event |
( |
event * |
ev | ) |
|
|
inlinestaticprotected |
Registers an event.
- Parameters
-
ev | pointer to the event to register. |
Definition at line 79 of file event_handler.h.
◆ event_list::add_event
Only event_list is allowed to register events with the event_handler.
◆ event::resume
The documentation for this class was generated from the following files: