#include <CEGUIGlobalEventSet.h>
Inheritance diagram for CEGUI::GlobalEventSet:
Public Types | |
typedef ConstBaseIterator< EventMap > | EventIterator |
Public Member Functions | |
GlobalEventSet () | |
~GlobalEventSet () | |
virtual Event::Connection | subscribeEvent (const String &name, Event::Subscriber subscriber) |
Subscribes the the named Event. | |
virtual Event::Connection | subscribeEvent (const String &name, Event::Group group, Event::Subscriber subscriber) |
Subscribes the the specified group of the named Event. | |
virtual void | fireEvent (const String &name, EventArgs &args, const String &eventNamespace="") |
Fires the named event passing the given EventArgs object. | |
void | addEvent (const String &name) |
Add a new Event to the EventSet with the given name. | |
void | removeEvent (const String &name) |
Removes the Event with the given name. All connections to the event are disconnected. | |
void | removeAllEvents (void) |
Remove all Event objects from the EventSet. | |
bool | isEventPresent (const String &name) |
Checks to see if an Event with the given name is present in the EventSet. | |
bool | isMuted (void) const |
Return whether the EventSet is muted or not. | |
void | setMutedState (bool setting) |
Set the mute state for this EventSet. | |
EventIterator | getIterator (void) const |
Return a EventSet::EventIterator object to iterate over the available events. | |
Static Public Member Functions | |
GlobalEventSet & | getSingleton (void) |
Return singleton System object. | |
GlobalEventSet * | getSingletonPtr (void) |
Return pointer to singleton System object. | |
Protected Types | |
typedef std::map< String, Event * > | EventMap |
Protected Attributes | |
EventMap | d_events |
bool | d_muted |
true if events for this EventSet have been muted. | |
Static Protected Attributes | |
GlobalEventSet * | ms_Singleton = NULL |
|
Definition at line 216 of file CEGUIEventSet.h. Referenced by CEGUI::EventSet::getIterator(). |
|
Definition at line 207 of file CEGUIEventSet.h. |
|
Definition at line 40 of file CEGUIGlobalEventSet.cpp. |
|
Definition at line 48 of file CEGUIGlobalEventSet.cpp. |
|
|
Fires the named event passing the given EventArgs object.
Reimplemented from CEGUI::EventSet. Definition at line 109 of file CEGUIGlobalEventSet.cpp. |
|
Return a EventSet::EventIterator object to iterate over the available events.
Definition at line 183 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events, and CEGUI::EventSet::EventIterator. |
|
Return singleton System object.
Reimplemented from CEGUI::Singleton< GlobalEventSet >. Definition at line 56 of file CEGUIGlobalEventSet.cpp. |
|
Return pointer to singleton System object.
Reimplemented from CEGUI::Singleton< GlobalEventSet >. Definition at line 64 of file CEGUIGlobalEventSet.cpp. |
|
Checks to see if an Event with the given name is present in the EventSet.
Definition at line 101 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events. Referenced by CEGUI::EventSet::addEvent(). |
|
Return whether the EventSet is muted or not.
Definition at line 164 of file CEGUIEventSet.cpp. |
|
Remove all Event objects from the EventSet.
Definition at line 84 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events. Referenced by CEGUI::EventSet::~EventSet(). |
|
Removes the Event with the given name. All connections to the event are disconnected.
Definition at line 68 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events. |
|
Set the mute state for this EventSet.
Definition at line 173 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_muted. |
|
Subscribes the the specified group of the named Event. /note If the named event does not exist it is added.
Reimplemented from CEGUI::EventSet. Definition at line 91 of file CEGUIGlobalEventSet.cpp. References CEGUI::EventSet::addEvent(), CEGUI::Event::Connection, and CEGUI::Event::Subscriber. |
|
Subscribes the the named Event.
Reimplemented from CEGUI::EventSet. Definition at line 72 of file CEGUIGlobalEventSet.cpp. References CEGUI::EventSet::addEvent(), CEGUI::Event::Connection, CEGUI::Informative, and CEGUI::Event::Subscriber. |
|
Definition at line 208 of file CEGUIEventSet.h. Referenced by CEGUI::EventSet::addEvent(), CEGUI::EventSet::fireEvent(), CEGUI::EventSet::getIterator(), CEGUI::EventSet::isEventPresent(), CEGUI::EventSet::removeAllEvents(), CEGUI::EventSet::removeEvent(), and CEGUI::EventSet::subscribeEvent(). |
|
true if events for this EventSet have been muted.
Definition at line 210 of file CEGUIEventSet.h. Referenced by CEGUI::EventSet::setMutedState(). |
|
Definition at line 35 of file CEGUIGlobalEventSet.cpp. |