Public Member Functions | |
virtual void | fireEvent (const String &name, EventArgs &args, const String &eventNamespace="") |
Fires the named event passing the given EventArgs object. | |
Static Public Member Functions | |
static GlobalEventSet & | getSingleton (void) |
Return singleton System object. | |
static GlobalEventSet * | getSingletonPtr (void) |
Return pointer to singleton System object. |
void CEGUI::GlobalEventSet::fireEvent | ( | const String & | name, | |
EventArgs & | args, | |||
const String & | eventNamespace = "" | |||
) | [virtual] |
Fires the named event passing the given EventArgs object.
name | String object holding the name of the Event that is to be fired (triggered) | |
args | The EventArgs (or derived) object that is to be bassed to each subscriber of the Event. Once all subscribers have been called the 'handled' field of the event is updated appropriately. | |
eventNamespace | String object describing the namespace prefix to use when firing the global event. |
Reimplemented from CEGUI::EventSet.
References CEGUI::EventSet::fireEvent_impl().
Referenced by CEGUI::EventSet::fireEvent().
GlobalEventSet & CEGUI::GlobalEventSet::getSingleton | ( | void | ) | [static] |
Return singleton System object.
Referenced by CEGUI::EventSet::fireEvent().
GlobalEventSet * CEGUI::GlobalEventSet::getSingletonPtr | ( | void | ) | [static] |