A functor for event-handler callbacks.
More...
#include <EventHandler.h++>
|
virtual void | invoke (E event)=0 |
| Invoke the handler with an event. More...
|
|
template<class E>
class ccxx::EventHandler< E >
A functor for event-handler callbacks.
See EventHandlerDelegate for an implementation that delegates to a method in an object.
- Author
- Mark Lindner
◆ ~EventHandler()
◆ invoke()
virtual void invoke |
( |
E |
event | ) |
|
|
protectedpure virtual |
◆ operator()()
void operator() |
( |
E |
event | ) |
|
|
inline |
Function-call operator.
The method simply delegates to invoke().
- Parameters
-
The documentation for this class was generated from the following file: