AAO DRAMA C++ Interface (Old style)
DRAMA C++, Depreciated, don't use for new code
Static Public Member Functions | Friends | List of all members
GitTaskActiveList Class Reference

Manage the list of active tasks. More...

#include <gittask.h>

Static Public Member Functions

static void Insert (GitTask *t)
 Put a task onto the active list.
 
static void ReInit ()
 Reinitialise the list.
 

Friends

class GitTaskActiveListIterator
 

Detailed Description

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.

Warning
This is a very special purpose list which is integrated with the GitTask:: class. The only things of interest to do is to insert tasks, use the iterator and ReInit the list, which relies on the known task list being set up.

The active list may be desroyed by invoking GitTask::DeActive() on each task and then invoking GitTaskActiveList::ReInit

See also
GitTaskActiveListIterator
GitTaskKnownList
GitTask

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