41 const std::list<std::unique_ptr<Task>> &
GetTasks()
const {
46 std::list<std::unique_ptr<Task>> mTasks;
Tasks that run side by side until each one ends.
Definition tasklist.h:13
void Poll()
Poll every task, and stop and delete each one that is no longer running.
~TaskList()
Stop and delete every task.
const std::list< std::unique_ptr< Task > > & GetTasks() const
Definition tasklist.h:41
void Add(Task *pTask)
Append a task and start it.
Unit of work an owner starts, polls until it reports that it is done, and stops.
Definition task.h:9