Collage
0.6.1
|
A wrapper to register a function callback on an object instance. More...
#include <commandFunc.h>
Public Member Functions | |
CommandFunc (T *object, bool(T::*func)(Command &)) | |
template<typename O > | |
CommandFunc (const CommandFunc< O > &from) | |
bool | operator() (Command &command) |
void | clear () |
bool | isValid () const |
Public Attributes | |
T * | _object |
bool(T::* | _func )(Command &) |
A wrapper to register a function callback on an object instance.
This wrapper is used by the Dispatcher to register and save callback methods of derived classes.
Definition at line 36 of file commandFunc.h.