Helper struct to wrap the functor call. More...
Public Member Functions | |
void | operator() (tsignal_function functor, tdispatcher &dispatcher, const tevent event, bool &handled, bool &halt) |
Helper struct to wrap the functor call.
The template function fire_event needs to call a functor with extra parameter. In order to facilitate this we send the parameter in the constructor of the class and let operator() call the functor with the default parameters and the stored parameters. This allows the core part of tdispatcher::fire to be generic.
Definition at line 131 of file dispatcher.cpp.
|
inline |
Definition at line 134 of file dispatcher.cpp.
References functor().