DUECA/DUSIME
|
Template class for callback to a member function. More...
#include <Callback.hxx>
Public Member Functions | |
void | operator() (const TimeSpec &t) |
The callback action. | |
void | print (ostream &os) const |
Print to stream, for debugging. | |
Callback (T *obj, void(T::*h)(const TimeSpec &t)) | |
Constructor. | |
~Callback () | |
Destructor. | |
Public Member Functions inherited from dueca::GenericCallback | |
GenericCallback () | |
Constructor. | |
virtual | ~GenericCallback () |
Destructor. | |
Template class for callback to a member function.
With a member function of a specific type (with only a TimeSpec as parameter, and a pointer to an object, this object can implement callbacks.
The callback action.
Implements dueca::GenericCallback.
Print to stream, for debugging.
Implements dueca::GenericCallback.