Collaboration diagram for CEGUI::Event:

Public Types | |
| typedef RefPtr< ConnectionInterface > | Connection |
|
typedef SubscriberTemplate< bool, const EventArgs & > | Subscriber |
| typedef int | Group |
Public Member Functions | |
| Event (const String &name) | |
| Constructs a new Event object with the specified name. | |
| virtual | ~Event (void) |
| Destructor for Event objects. | |
| const String & | getName (void) const |
| Return the name given to this Event object when it was created. | |
| Connection | subscribe (Subscriber subscriber) |
| Subscribes some function / object to the Event. | |
| Connection | subscribe (Group group, Subscriber subscriber) |
| Subscribes some function / object to the Event. | |
| void | operator() (EventArgs &args) |
Friends | |
| class | ConnectionImpl |
Classes | |
| class | ConnectionInterface |
| Interface to be implemented by connection objects. More... | |
| class | GroupSubscriber |
| struct | ltGroupSubscriber |
| class | ScopedConnection |
| A Connection object that automatically disconnects from the event when the ScropedConnection object goes out of scope (and is deleted). More... | |
An Event can be subscribed by a function, a member function, or a function object. Whichever option is taken, the function signature needs to be as follows
|
|
Return the name given to this Event object when it was created.
|
|
||||||||||||
|
Subscribes some function / object to the Event.
|
|
|
Subscribes some function / object to the Event.
|
1.4.5