Advanced Strategic Command
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
TaskContainer Class Reference

#include <taskcontainer.h>

Inheritance diagram for TaskContainer:
Inheritance graph

Public Types

typedef list< Command * > CommandContainer

Public Member Functions

void remove (Command *cmd)
 TaskContainer (GameMap *gamemap)
 ~TaskContainer ()
void read (tnstream &stream)
void write (tnstream &stream) const
virtual void foo ()
- Public Member Functions inherited from AbstractTaskContainer
virtual ~AbstractTaskContainer ()

Static Public Member Functions

static void registerHooks ()

Public Attributes

CommandContainer pendingCommands

Additional Inherited Members

- Protected Member Functions inherited from AbstractTaskContainer
void writeStorage (tnstream &stream) const
void readStorage (tnstream &stream)
 AbstractTaskContainer ()
- Protected Attributes inherited from AbstractTaskContainer
MemoryStreamStorageplayerTasks [GameMap::maxTotalPlayers]
int lastPlayer
- Static Protected Attributes inherited from AbstractTaskContainer
static const int taskMagic = 0xda5cda5c

Detailed Description

Definition at line 32 of file taskcontainer.h.

Member Typedef Documentation

Definition at line 43 of file taskcontainer.h.

Constructor & Destructor Documentation

TaskContainer::TaskContainer ( GameMap gamemap)
TaskContainer::~TaskContainer ( )

Definition at line 41 of file taskcontainer.cpp.

References pendingCommands.

Member Function Documentation

virtual void TaskContainer::foo ( )

Definition at line 56 of file taskcontainer.h.

void TaskContainer::read ( tnstream stream)
void TaskContainer::registerHooks ( )

Definition at line 52 of file taskcontainer.cpp.

References ActionContainer::commitCommand, and GameMap::sigMapCreation.

Referenced by gamethread(), and main().

void TaskContainer::remove ( Command cmd)

Definition at line 130 of file taskcontainer.cpp.

References pendingCommands.

void TaskContainer::write ( tnstream stream) const

Member Data Documentation

CommandContainer TaskContainer::pendingCommands

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