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