#include <callback_decls.h>
Inheritance diagram for Callback:
Public Member Functions | |
virtual void | run ()=0 |
This method takes action when the Callback is to be run. | |
virtual bool | iscompleted () |
This method returns true for canceled callbacks. |
Subclasses must override the run() method. You may also override the iscompleted() method to make it possible to cancel your callback.
virtual void Callback::run | ( | ) | [pure virtual] |
This method takes action when the Callback is to be run.
Derived classes must override this method.
Implemented in ScheduleCallback, ChannelCallback< T >, SuspendCallback< T >, CallbackChain, and ExceptionCallback< T >.
bool Callback::iscompleted | ( | ) | [virtual] |
This method returns true for canceled callbacks.
It is not invoked after the run() method. This method may be overridden.
Reimplemented in SuspendCallback< T >.