Sleeping Wombat GUI
0.100
swGUI
|
Container class for delegates. More...
#include <EventHandlers.h>
Public Member Functions | |
EventHandlers () | |
DelegatesContainerBase * | FindContainer (EventType eventID) |
Search for events container. More... | |
Private Member Functions | |
bool | Exists (EventType eventID) |
Checks if container exists. More... | |
Functions for EventProxy | |
DelegatesContainerBase * | AddContainer (DelegatesContainerBaseOPtr &&container) |
Adds delegates container. More... | |
bool | RemoveContainer (EventType eventID) |
Removes container with deelgates. More... | |
bool | RaiseEvent (const RegisteredEvent *eventInfo, UIElement *sender, IEventArgsOPtr &&arguments) |
Sends event to visual tree using RoutingStrategy specyfied in eventInfo. Calls EventsSystem::RaiseEvent. More... | |
Private Attributes | |
DelegatesContainerBaseOPtr | m_delegatesList |
Friends | |
template<typename EventArgType > | |
class | EventProxy |
Container class for delegates.
|
explicit |
|
private |
Adds delegates container.
|
private |
Checks if container exists.
DelegatesContainerBase * sw::gui::EventHandlers::FindContainer | ( | EventType | eventID | ) |
Search for events container.
|
private |
Sends event to visual tree using RoutingStrategy specyfied in eventInfo. Calls EventsSystem::RaiseEvent.
|
private |
Removes container with deelgates.
|
friend |
|
private |