#include <EventManager.h>
Static Public Member Functions |
static void | Shutdown () |
| Releases all event handlers registered with the manager.
|
static void | RegisterEventHandler (const Rocket::Core::String &handler_name, EventHandler *handler) |
static void | ProcessEvent (Rocket::Core::Event &event, const Rocket::Core::String &value) |
static bool | LoadWindow (const Rocket::Core::String &window_name) |
Static Public Attributes |
static Rocket::Core::String | m_DirStr |
Detailed Description
- Author
- Peter Curry
Definition at line 40 of file EventManager.h.
Constructor & Destructor Documentation
EventManager::EventManager |
( |
| ) |
|
|
private |
EventManager::~EventManager |
( |
| ) |
|
|
private |
Member Function Documentation
static bool EventManager::LoadWindow |
( |
const Rocket::Core::String & |
window_name | ) |
|
|
static |
Loads a window and binds the event handler for it.
- Parameters
-
[in] | window_name | The name of the window to load. |
static void EventManager::ProcessEvent |
( |
Rocket::Core::Event & |
event, |
|
|
const Rocket::Core::String & |
value |
|
) |
| |
|
static |
Processes an event coming through from Rocket.
- Parameters
-
[in] | event | The Rocket event that spawned the application event. |
[in] | value | The application-specific event value. |
static void EventManager::RegisterEventHandler |
( |
const Rocket::Core::String & |
handler_name, |
|
|
EventHandler * |
handler |
|
) |
| |
|
static |
Registers a new event handler with the manager.
- Parameters
-
[in] | handler_name | The name of the handler; this must be the same as the window it is handling events for. |
[in] | handler | The event handler. |
static void EventManager::Shutdown |
( |
| ) |
|
|
static |
Releases all event handlers registered with the manager.
Member Data Documentation
Rocket::Core::String EventManager::m_DirStr |
|
static |
The documentation for this class was generated from the following file: