DRAMA C++ Intro   Class Hierarchy   Alphabetical List of types   List of Classes   File List   Class Member Index   File Members Index   Related Pages  

GitTaskActiveList Class Reference

#include <gittask.h>

List of all members.


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


Static Public Methods

void ReInit ()
 Reinitialise the list.

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


Member Function Documentation

void GitTaskActiveList::Insert GitTask   t [static]
 

Put a task onto the active list.

This only does something if the task is not already on the list.

Parameters:
t  The task.

void GitTaskActiveList::ReInit   [static]
 

Reinitialise the list.

This causes the list to be reset to empty.


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

Click here for the DRAMA home page and here for the AAO home page.

For more information, contact tjf@aaoepp.aao.gov.au 

Generated on Tue Nov 3 09:09:56 2009 for AAO DRAMA C++ Interfaces by doxygen 1.2.18