Go to the documentation of this file.
18 #ifndef __LIBSTD_CALLBACK_H
19 #define __LIBSTD_CALLBACK_H
43 virtual void execute(
void *parameter) = 0;
Callback(Base *object, Function func)
Constructor.
virtual void execute(void *parameter)=0
Execute the callback.
Represents a callback function.
Base
Numeral system base type.
void param(Terminal *term, int key, int value)
Set terminal parameters.
void(Base::* Function)(ParamType *param)
Callback function prototype.
virtual void executeOnObject(ParamType *parameter)
Execute the callback.
virtual void execute(void *parameter)
Invoke the callback function on the object.
Abstraction for providing a callback function to a object instance.
Function m_function
Function pointer.
Base * m_object
Object instance.