|
Crazy Eddie's GUI System
0.8.4
|
LinkedEvent is an Event subclass that provides a mechanism to link or chain Events together, such that when a specified target event is fired, then this event will additionally fire in response. More...
Inheritance diagram for CEGUI::LinkedEvent:
Collaboration diagram for CEGUI::LinkedEvent:Public Member Functions | |
| LinkedEvent (const String &event_name, EventSet *target_event_set) | |
| Constructor. | |
| void | addLinkedTarget (Event &link_target) |
| Add a link target for this event. A link target is an event that will trigger this event. | |
Protected Types | |
|
typedef std::vector < Event::Connection CEGUI_VECTOR_ALLOC(Event::Connection)> | LinkedConnections |
Protected Member Functions | |
| bool | handler (const EventArgs &args) |
| LinkedEvent (const LinkedEvent &e) | |
Protected Attributes | |
| LinkedConnections | d_connections |
| collection of connection to the linked Events. | |
| const EventSet * | d_owner |
| reference to the event set that we added ourself to | |
LinkedEvent is an Event subclass that provides a mechanism to link or chain Events together, such that when a specified target event is fired, then this event will additionally fire in response.
| CEGUI::LinkedEvent::LinkedEvent | ( | const String & | event_name, |
| EventSet * | target_event_set | ||
| ) |
Constructor.
| name | String object describing the name that this Event will use. |
| target_event_set | EventSet that the LinkedEvent should add itself to. |
| void CEGUI::LinkedEvent::addLinkedTarget | ( | Event & | link_target | ) |
Add a link target for this event. A link target is an event that will trigger this event.
| link_target | Reference to an Event that, when fired, will additionally cause this Event to fire. |