wavelength 1.0.0
Loading...
Searching...
No Matches
TaskList Class Reference

Tasks that run side by side until each one ends. More...

#include <tasklist.h>

Public Member Functions

 ~TaskList ()
 Stop and delete every task.
void Add (Task *pTask)
 Append a task and start it.
void Poll ()
 Poll every task, and stop and delete each one that is no longer running.
const std::list< std::unique_ptr< Task > > & GetTasks () const

Detailed Description

Tasks that run side by side until each one ends.

The class has no RTTI, and the name is inferred. The list owns the tasks.

Constructor & Destructor Documentation

◆ ~TaskList()

TaskList::~TaskList ( )

Stop and delete every task.

Ghidra address:
NTSC-U/C: 0x0026a7c8
Ghidra address:
PAL: 0x00274358

Member Function Documentation

◆ Add()

void TaskList::Add ( Task * pTask)

Append a task and start it.

Parameters
pTaskThe task.
Ghidra address:
NTSC-U/C: 0x0026a730
Ghidra address:
PAL: 0x002742c0

◆ Poll()

void TaskList::Poll ( )

Poll every task, and stop and delete each one that is no longer running.

Ghidra address:
NTSC-U/C: 0x0026a888
Ghidra address:
PAL: 0x00274418

◆ GetTasks()

const std::list< std::unique_ptr< Task > > & TaskList::GetTasks ( ) const
inline
Returns
The tasks, in the order they were added.

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