#include <CEGUIEvent.h>
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 |
An Event can be subscribed by a function, a static member function, or a function object. Whichever option is taken, the function signature needs to be as follows
Definition at line 199 of file CEGUIEvent.h.
|
|
Definition at line 207 of file CEGUIEvent.h. Referenced by subscribe(), CEGUI::GlobalEventSet::subscribeEvent(), and CEGUI::EventSet::subscribeEvent(). |
|
|
Definition at line 219 of file CEGUIEvent.h. |
|
|
|
Constructs a new Event object with the specified name.
Definition at line 70 of file CEGUIEvent.cpp. |
|
|
Destructor for Event objects.
Definition at line 75 of file CEGUIEvent.cpp. |
|
|
Return the name given to this Event object when it was created.
Definition at line 244 of file CEGUIEvent.h. |
|
|
Definition at line 97 of file CEGUIEvent.cpp. References CEGUI::EventArgs::handled. |
|
||||||||||||
|
Subscribes some function / object to the Event.
Definition at line 89 of file CEGUIEvent.cpp. References Connection, ConnectionImpl, and Subscriber. |
|
|
Subscribes some function / object to the Event.
Definition at line 257 of file CEGUIEvent.h. |
|
|
Definition at line 333 of file CEGUIEvent.h. Referenced by subscribe(). |
1.3.9.1