Gwork: 0.3.0Dev |
Event callback management. More...
#include <Events.h>
Classes | |
struct | HandlerInstance |
Public Member Functions | |
void | Call (Controls::Base *pThis) |
void | Call (Controls::Base *pThis, Gwk::Event::Info info) |
template<typename T > | |
void | Add (Event::Handler *ob, T f) |
template<typename T > | |
void | Add (Event::Handler *ob, void(T::*f)(Gwk::Event::Info)) |
template<typename T > | |
void | Add (Event::Handler *ob, void(T::*f)(Gwk::Event::Info), const Gwk::Event::Packet &packet) |
template<typename T > | |
void | Add (Event::Handler *ob, void(T::*f)()) |
void | RemoveHandler (Event::Handler *object) |
Protected Member Functions | |
void | CleanLinks () |
void | AddInternal (Event::Handler *object, Handler::Function function) |
void | AddInternal (Event::Handler *object, Handler::FunctionWithInformation function) |
void | AddInternal (Event::Handler *object, Handler::FunctionWithInformation function, const Gwk::Event::Packet &packet) |
void | AddInternal (Event::Handler *object, Handler::FunctionBlank function) |
Protected Attributes | |
std::list< HandlerInstance > | m_handlers |
Event callback management.