#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. | |
virtual Event::Connection | subscribeScriptedEvent (const String &name, const String &subscriber_name) |
Subscribes the named Event to a scripted funtion. | |
virtual Event::Connection | subscribeScriptedEvent (const String &name, Event::Group group, const String &subscriber_name) |
Subscribes the specified group of the named Event to a scripted funtion. | |
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. | |
Singleton (void) | |
Static Public Member Functions | |
static GlobalEventSet & | getSingleton (void) |
Return singleton System object. | |
static 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 | |
static GlobalEventSet * | ms_Singleton = NULL |
Definition at line 40 of file CEGUIGlobalEventSet.h.
|
Definition at line 255 of file CEGUIEventSet.h. |
|
Definition at line 246 of file CEGUIEventSet.h. |
|
Definition at line 40 of file CEGUIGlobalEventSet.cpp. References CEGUI::Logger::getSingleton(), and CEGUI::Logger::logEvent(). |
|
Definition at line 48 of file CEGUIGlobalEventSet.cpp. References CEGUI::Logger::getSingleton(), and CEGUI::Logger::logEvent(). |
|
|
Fires the named event passing the given EventArgs object.
Reimplemented from CEGUI::EventSet. Definition at line 109 of file CEGUIGlobalEventSet.cpp. References CEGUI::EventSet::d_events, and CEGUI::EventSet::d_muted. Referenced by CEGUI::EventSet::fireEvent(). |
|
Return a EventSet::EventIterator object to iterate over the available events.
Definition at line 203 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events. |
|
Return singleton System object.
Reimplemented from CEGUI::Singleton< GlobalEventSet >. Definition at line 56 of file CEGUIGlobalEventSet.cpp. Referenced by CEGUI::EventSet::fireEvent(). |
|
Return pointer to singleton System object.
Reimplemented from CEGUI::Singleton< GlobalEventSet >. Definition at line 64 of file CEGUIGlobalEventSet.cpp. Referenced by CEGUI::System::~System(). |
|
Checks to see if an Event with the given name is present in the EventSet.
Definition at line 102 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 184 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_muted. Referenced by CEGUI::Spinner::onTextInputModeChanged(), and CEGUI::Spinner::onValueChanged(). |
|
Remove all Event objects from the EventSet.
Definition at line 85 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 69 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events. |
|
Set the mute state for this EventSet.
Definition at line 193 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_muted. Referenced by CEGUI::Spinner::onTextInputModeChanged(), and CEGUI::Spinner::onValueChanged(). |
|
Definition at line 58 of file CEGUISingleton.h. |
|
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(), and CEGUI::EventSet::d_events. |
|
Subscribes the the named Event.
Reimplemented from CEGUI::EventSet. Definition at line 72 of file CEGUIGlobalEventSet.cpp. References CEGUI::EventSet::addEvent(), CEGUI::EventSet::d_events, CEGUI::Logger::getSingleton(), CEGUI::Informative, and CEGUI::Logger::logEvent(). |
|
Subscribes the specified group of the named Event to a scripted funtion.
Definition at line 120 of file CEGUIEventSet.cpp. References CEGUI::EventSet::subscribeEvent(). |
|
Subscribes the named Event to a scripted funtion.
Definition at line 111 of file CEGUIEventSet.cpp. References CEGUI::EventSet::subscribeEvent(). |
|
Definition at line 247 of file CEGUIEventSet.h. Referenced by CEGUI::EventSet::addEvent(), fireEvent(), CEGUI::EventSet::fireEvent(), CEGUI::EventSet::getIterator(), CEGUI::EventSet::isEventPresent(), CEGUI::EventSet::removeAllEvents(), CEGUI::EventSet::removeEvent(), subscribeEvent(), and CEGUI::EventSet::subscribeEvent(). |
|
true if events for this EventSet have been muted.
Definition at line 249 of file CEGUIEventSet.h. Referenced by fireEvent(), CEGUI::EventSet::fireEvent(), CEGUI::EventSet::isMuted(), and CEGUI::EventSet::setMutedState(). |
|
Definition at line 35 of file CEGUIGlobalEventSet.cpp. |