#include <omgui/event.h>
Inherits omgui::SlotBase.
Public Types | |
typedef E | event_type |
typedef bool(T::* | function_type )(const event_type &e) |
Public Member Functions | |
void | add_ref () |
MemberSlot (const function_type &function, T &t) | |
bool | operator() (const Event &e) |
void | release () |
Private Attributes | |
function_type | func |
T & | instance |
typedef E omgui::MemberSlot< E, T >::event_type |
typedef bool(T::* omgui::MemberSlot< E, T >::function_type)(const event_type &e) |
omgui::MemberSlot< E, T >::MemberSlot | ( | const function_type & | function, | |
T & | t | |||
) | [inline] |
void omgui::RefCounted::add_ref | ( | ) | [virtual, inherited] |
Implements omgui::RefCountable.
bool omgui::MemberSlot< E, T >::operator() | ( | const Event & | e | ) | [inline, virtual] |
Invoke the slot
Implements omgui::SlotBase.
void omgui::RefCounted::release | ( | ) | [virtual, inherited] |
Implements omgui::RefCountable.
function_type omgui::MemberSlot< E, T >::func [private] |
T& omgui::MemberSlot< E, T >::instance [private] |