Template Class EventBinder

Inheritance Relationships

Base Type

Class Documentation

template<class T>
class EventBinder : public EventBinderBase

Public Functions

EventBinder()
~EventBinder()
void EventBinder::bind(const Event::Type & event, T * self, Variant (T::*)(const Event *) eventFunction)

Duplicate bindings will override the previous ones.

void bind(const Event::Type &event, EventFunction function)
void unbind(const Event::Type &event)
void unbindAll()
bool hasBinding(const Event::Type &binding) const
Variant handle(const Event &event)

Call only if binding exists.