Inheritance diagram for CEGUI::EventSet:
Public Types | |
typedef ConstBaseIterator< EventMap > | EventIterator |
Public Member Functions | |
EventSet () | |
Constructor for EventSet objects. | |
virtual | ~EventSet (void) |
Destructor for EventSet objects. | |
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 | subscribeEvent (const String &name, Event::Subscriber subscriber) |
Subscribes the named Event. | |
virtual Event::Connection | subscribeEvent (const String &name, Event::Group group, Event::Subscriber subscriber) |
Subscribes the specified group of the named Event. | |
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. | |
virtual void | fireEvent (const String &name, EventArgs &args, const String &eventNamespace="") |
Fires the named event passing the given EventArgs object. | |
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. | |
Protected Types | |
typedef std::map< String, Event * > | EventMap |
Protected Member Functions | |
EventSet (EventSet &e) | |
EventSet & | operator= (EventSet &e) |
Protected Attributes | |
EventMap | d_events |
bool | d_muted |
true if events for this EventSet have been muted. |
The EventSet used to collect Event objects together, and allow access to them by a unique name
|
Add a new Event to the EventSet with the given name.
|
|
Fires the named event passing the given EventArgs object.
Reimplemented in CEGUI::GlobalEventSet. |
|
Checks to see if an Event with the given name is present in the EventSet.
|
|
Return whether the EventSet is muted or not.
|
|
Remove all Event objects from the EventSet.
|
|
Removes the Event with the given name. All connections to the event are disconnected.
|
|
Set the mute state for this EventSet.
|
|
Subscribes the specified group of the named Event.
Reimplemented in CEGUI::GlobalEventSet. |
|
Subscribes the named Event.
Reimplemented in CEGUI::GlobalEventSet. |
|
Subscribes the specified group of the named Event to a scripted funtion.
|
|
Subscribes the named Event to a scripted funtion.
|