#include <callback_decls.h>
Inheritance diagram for SuspendCallback< T >:
Public Member Functions | |
SuspendCallback (Suspender< T > &s, const T &v) | |
SuspendCallback constructor. | |
void | run () |
This method takes action when the Callback is to be run. | |
bool | iscompleted () |
|
The Suspender's wakeup method is invoked with the value given at the constructor.
SuspendCallback< T >::SuspendCallback | ( | Suspender< T > & | s, | |
const T & | v | |||
) | [inline] |
SuspendCallback constructor.
s | is the Suspender to be used | |
v | is the object to be passed to Suspender.wakeup() |
void SuspendCallback< T >::run | ( | ) | [inline, virtual] |