#include <callback.h>
Public Member Functions | |
GlobalFunctionCallback (GlobalFunction cb) | |
virtual void | operator() (T data) |
GlobalFunctionCallback<T> is a simple wrapper for global C functions.
If a method accepts BaseCallback<T>, you can pass your C function by passing new GlobalFunctionCallback<T>(yourFunction)
|
inlinevirtual |
Type of the object passed to the operator.
< C function passed to the operator.
Implements Common::BaseCallback< T >.