EventManager holds all the currently used events.
More...
#include <EventManager.h>
List of all members.
Detailed Description
EventManager holds all the currently used events.
Constructor & Destructor Documentation
LibCT::EventManager::EventManager |
( |
| ) |
[inline, private] |
LibCT::EventManager::~EventManager |
( |
| ) |
[inline, private] |
LibCT::EventManager::EventManager |
( |
const EventManager & |
| ) |
[private] |
Constructor (not implemented)
Member Function Documentation
void LibCT::EventManager::Destroy |
( |
| ) |
|
Tear-down the event manager, destroy any remaining events.
EventType* LibCT::EventManager::GetEvent |
( |
const std::string & |
eventName | ) |
|
Get an event
- Returns:
- The event identified by name, or null if not found
- Parameters:
-
eventName | Name of the event to find |
const EventList* LibCT::EventManager::GetEventList |
( |
| ) |
const |
Get the event list
- Returns:
- The event list
static EventManager* LibCT::EventManager::GetInstance |
( |
| ) |
[inline, static] |
Get the instance of this singleton
- Returns:
- The instance of this singleton
void LibCT::EventManager::Initialise |
( |
| ) |
|
Initialise the event manager.
bool LibCT::EventManager::IsInitialised |
( |
| ) |
const |
Get if the event manager has been initialised
- Returns:
- True if event manager is intiailsied
Assignment operator (not implemented)
void LibCT::EventManager::RegisterEvent |
( |
const std::string & |
eventName | ) |
|
Register an event.
- Parameters:
-
eventName | Name of the event to register |
void LibCT::EventManager::UnregisterEvent |
( |
const std::string & |
eventName | ) |
|
Unregister an event.
- Parameters:
-
eventName | Name of the event to unregister |
Member Data Documentation
List of all registered events.
True if this Initialise has been called.
The documentation for this class was generated from the following file: