#include <taskcontainer.h>
Inheritance diagram for TaskContainer:

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 () |
Static Public Member Functions | |
| static void | registerHooks () |
Public Attributes | |
| CommandContainer | pendingCommands |
Definition at line 32 of file taskcontainer.h.
| typedef list<Command*> TaskContainer::CommandContainer |
Definition at line 43 of file taskcontainer.h.
| TaskContainer::TaskContainer | ( | GameMap * | gamemap | ) |
Definition at line 33 of file taskcontainer.cpp.
References GameMap::sigPlayerTurnBegins, and GameMap::sigPlayerTurnHasEnded.
| TaskContainer::~TaskContainer | ( | ) |
| void TaskContainer::remove | ( | Command * | cmd | ) |
| void TaskContainer::read | ( | tnstream & | stream | ) | [virtual] |
Implements AbstractTaskContainer.
Definition at line 157 of file taskcontainer.cpp.
References magic, pendingCommands, GameAction::readFromStream(), tnstream::readInt(), AbstractTaskContainer::readStorage(), and AbstractTaskContainer::taskMagic.
| void TaskContainer::write | ( | tnstream & | stream | ) | const [virtual] |
Implements AbstractTaskContainer.
Definition at line 147 of file taskcontainer.cpp.
References pendingCommands, AbstractTaskContainer::taskMagic, tnstream::writeInt(), and AbstractTaskContainer::writeStorage().
| void TaskContainer::registerHooks | ( | ) | [static] |
Definition at line 52 of file taskcontainer.cpp.
References ActionContainer::commitCommand, and GameMap::sigMapCreation.
Referenced by gamethread(), and main().
| virtual void TaskContainer::foo | ( | ) | [inline, virtual] |
Definition at line 56 of file taskcontainer.h.
Definition at line 44 of file taskcontainer.h.
Referenced by read(), remove(), TaskFactory::restart(), runOpenTasks(), runPendingTasks(), runTasks(), TaskFactory::spawnNextItem(), write(), and ~TaskContainer().
1.5.1