wavelength 1.0.0
Loading...
Searching...
No Matches
TaskDoneNotifier Class Referenceabstract

Object a task can ask to report when a named piece of work is done. More...

#include <taskdonenotifier.h>

Inheritance diagram for TaskDoneNotifier:

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.

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~TaskDoneNotifier()

virtual TaskDoneNotifier::~TaskDoneNotifier ( )
inlinevirtual

Release the notifier.

Ghidra address:
NTSC-U/C: 0x0033fc50
Ghidra address:
PAL: 0x003ad188

Member Function Documentation

◆ NotifyWhenDone()

virtual void TaskDoneNotifier::NotifyWhenDone ( Task * pTask,
const char * pszName )
pure virtual

Arrange for a task to learn when the named work is done.

Parameters
pTaskThe task waiting for the work.
pszNameThe name of the work.

Implemented in RemixTutorial, StreamQueue, and TutorialGameLogic.

◆ ReportDone()

void TaskDoneNotifier::ReportDone ( Task * pTask)
inlinestatic

Tell a waiting task that its work is done.

The name is inferred.

Parameters
pTaskThe task given to NotifyWhenDone().
Ghidra address:
NTSC-U/C: 0x001418f8
Ghidra address:
PAL: 0x00143298

The documentation for this class was generated from the following file: