|
wavelength 1.0.0
|
Object a task can ask to report when a named piece of work is done. More...
#include <taskdonenotifier.h>

Public Member Functions | |
| virtual | ~TaskDoneNotifier () |
| Release the notifier. | |
| virtual void | NotifyWhenDone (Task *pTask, const char *pszName)=0 |
| Arrange for a task to learn when the named work is done. | |
Static Public Member Functions | |
| static void | ReportDone (Task *pTask) |
| Tell a waiting task that its work is done. | |
Object a task can ask to report when a named piece of work is done.
The RTTI includes the class name, and the class has no base. The vptr is the only member.
|
inlinevirtual |
Release the notifier.
|
pure virtual |
Arrange for a task to learn when the named work is done.
| pTask | The task waiting for the work. |
| pszName | The name of the work. |
Implemented in RemixTutorial, StreamQueue, and TutorialGameLogic.
|
inlinestatic |
Tell a waiting task that its work is done.
The name is inferred.
| pTask | The task given to NotifyWhenDone(). |