#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 |
Classes | |
class | ConnectionInterface |
class | GroupSubscriber |
struct | ltGroupSubscriber |
class | ScopedConnection |
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 202 of file CEGUIEvent.h.
|
Definition at line 210 of file CEGUIEvent.h. |
|
Definition at line 222 of file CEGUIEvent.h. |
|
Definition at line 221 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 247 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 ConnectionImpl. |
|
Subscribes some function / object to the Event.
Definition at line 260 of file CEGUIEvent.h. |
|
Definition at line 336 of file CEGUIEvent.h. Referenced by subscribe(). |