Crazy Eddie's GUI System  ${CEGUI_VERSION}
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Event_wrapper Struct Reference
+ Inheritance diagram for Event_wrapper:
+ Collaboration diagram for Event_wrapper:

Public Member Functions

 Event_wrapper (::CEGUI::String const &name)
 
 Event_wrapper (::CEGUI::Event const &arg0)
 
void unsubscribe (::CEGUI::BoundSlot const &slot)
 
- Public Member Functions inherited from CEGUI::Event
 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 StringgetName (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 StringgetName (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

- Public Types inherited from CEGUI::Event
typedef RefCounted< BoundSlotConnection
 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< BoundSlotConnection
 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.
 
- Protected Types inherited from CEGUI::Event
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
 
- Protected Member Functions inherited from CEGUI::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 &)
 
Eventoperator= (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 &)
 
Eventoperator= (const Event &)
 
- Protected Attributes inherited from CEGUI::Event
SlotContainer d_slots
 Collection holding ref-counted bound slots.
 
const String d_name
 Name of this event.