Sleeping Wombat GUI
0.100
swGUI
|
Helper class for accessing event. More...
#include <EventProxy.h>
Public Types | |
typedef EventDelegate< EventArgType > | DelegateType |
typedef std::unique_ptr< EventArgType > | ArgumentsOwnerPtr |
Public Member Functions | |
EventProxy (EventHandlers &delegatesContainer, const RegisteredEvent *eventInfo) | |
void | operator+= (DelegateType delegate) |
bool | operator-= (DelegateType delegate) |
void | AddDelegate (DelegateType delegate) |
bool | RemoveDelegate (DelegateType delegate) |
bool | RaiseEvent (UIElement *sender, ArgumentsOwnerPtr &&arguments) |
Private Attributes | |
EventHandlers & | m_handlers |
const RegisteredEvent * | m_eventInfo |
Helper class for accessing event.
typedef std::unique_ptr< EventArgType > sw::gui::EventProxy< EventArgType >::ArgumentsOwnerPtr |
typedef EventDelegate< EventArgType > sw::gui::EventProxy< EventArgType >::DelegateType |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |