#include <callback.h>
Public Member Functions | |
virtual void | operator() (S data)=0 |
BaseCallback<S> is a simple base class for object-oriented callbacks.
Object-oriented callbacks are callbacks that know the exact instance of the method that must be called.
For backward compatibility purposes, GlobalFunctionCallback is available, which is BaseCallback<void *>, so it can be used with global C-like functions too.
<S> is the type that is passed to operator() of this callback. This allows you to specify that you accept a callback that wants to receive an <S> object.
|
pure virtual |
Type of the object passed to the operator.
Implemented in Common::CallbackBridge< T, OS, S >, Common::Callback< T, S >, and Common::GlobalFunctionCallback< T >.