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