Manage the list of active tasks. More...
#include <gittask.h>
Static Public Member Functions | |
static void | ReInit () |
Reinitialise the list. More... | |
static void | Insert (GitTask *t) |
Put a task onto the active list. More... | |
Friends | |
class | GitTaskActiveListIterator |
Manage the list of active tasks.
We have two lists, the Known tasks and the Active tasks. The former is only used to setup the later during initialisation/reset. These are very simple lists since that is all we require. No deletion is necessary as the objects we are listing contain all the necessay store. We use the "nextKnown" and "nextActive" fields.
The active list may be desroyed by invoking GitTask::DeActive() on each task and then invoking GitTaskActiveList::ReInit
|
static |
Put a task onto the active list.
This only does something if the task is not already on the list.
t | The task. |
|
static |
Reinitialise the list.
This causes the list to be reset to empty.
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tjf@aao.gov.au Generated on Mon Feb 22 2016 13:58:31 for AAO DRAMA C++ Interfaces by 1.8.10