Crazy Eddie's GUI System
${CEGUI_VERSION}
|
Public Member Functions | |
Event_wrapper (::CEGUI::String const &name) | |
Event_wrapper (::CEGUI::Event const &arg0) | |
void | unsubscribe (::CEGUI::BoundSlot const &slot) |
![]() | |
Event (const String &name) | |
Constructs a new Event object with the specified name. | |
virtual | ~Event () |
Destructor for Event objects. Note that this is non-virtual and so you should not sub-class Event. | |
const String & | getName (void) const |
Return the name given to this Event object when it was created. More... | |
Connection | subscribe (const Subscriber &slot) |
Subscribes some function or object to the Event. More... | |
Connection | subscribe (Group group, const Subscriber &slot) |
Subscribes some function or object to the Event. More... | |
void | operator() (EventArgs &args) |
Fires the event. All event subscribers get called in the appropriate sequence. More... | |
Event (const String &name) | |
Constructs a new Event object with the specified name. | |
virtual | ~Event () |
Destructor for Event objects. Note that this is non-virtual and so you should not sub-class Event. | |
const String & | getName (void) const |
Return the name given to this Event object when it was created. More... | |
Connection | subscribe (const Subscriber &slot) |
Subscribes some function or object to the Event. More... | |
Connection | subscribe (Group group, const Subscriber &slot) |
Subscribes some function or object to the Event. More... | |
void | operator() (EventArgs &args) |
Fires the event. All event subscribers get called in the appropriate sequence. More... | |
Additional Inherited Members | |
![]() | |
typedef RefCounted< BoundSlot > | Connection |
Connection object. This is a thin 'smart pointer' wrapper around the actual BoundSlot that represents the connection. You can use this object to inspect the current connection state and also to disconnect from the event. | |
typedef CEGUI::SubscriberSlot | Subscriber |
Subscriber object type. This is now just a typedef to SubscriberSlot, the use of the name Event::Subscriber is maintained for hostorical and compatability reasons. | |
typedef unsigned int | Group |
Type for a subscriber group. You can use the subscriber group to order calls to multiple subscribers. Groups are called in ascending order, with subscribers with no group called last. | |
typedef RefCounted< BoundSlot > | Connection |
Connection object. This is a thin 'smart pointer' wrapper around the actual BoundSlot that represents the connection. You can use this object to inspect the current connection state and also to disconnect from the event. | |
typedef CEGUI::SubscriberSlot | Subscriber |
Subscriber object type. This is now just a typedef to SubscriberSlot, the use of the name Event::Subscriber is maintained for hostorical and compatability reasons. | |
typedef unsigned int | Group |
Type for a subscriber group. You can use the subscriber group to order calls to multiple subscribers. Groups are called in ascending order, with subscribers with no group called last. | |
![]() | |
typedef std::multimap< Group, Connection, std::less< Group > CEGUI_MULTIMAP_ALLOC(Group, Connection)> | SlotContainer |
typedef std::multimap< Group, Connection, std::less< Group > CEGUI_MULTIMAP_ALLOC(Group, Connection)> | SlotContainer |
![]() | |
void | unsubscribe (const BoundSlot &slot) |
Disconnects and removes the given BoundSlot from the collection of bound slots attached to this Event, thus 'unsubscribing' it. More... | |
Event (const Event &) | |
Event & | operator= (const Event &) |
void | unsubscribe (const BoundSlot &slot) |
Disconnects and removes the given BoundSlot from the collection of bound slots attached to this Event, thus 'unsubscribing' it. More... | |
Event (const Event &) | |
Event & | operator= (const Event &) |
![]() | |
SlotContainer | d_slots |
Collection holding ref-counted bound slots. | |
const String | d_name |
Name of this event. | |