#include <TheGrids.h>
Inheritance diagram for clGridManager:
Public Member Functions | |
clGridManager (clSimManager *p_oSimManager) | |
Constructor. | |
int | GetObjectVersion () |
Returns the version number of the clGridManager class. | |
void | CreateObjects (xercesc::DOMDocument *p_oDoc) |
Creates grid objects from input file if there are maps. | |
clGridBase * | CreateGrid (char *cGridName, short int iNumIntVals, short int iNumFloatVals, short int iNumCharVals, short int iNumBoolVals, float fXCellLength=0, float fYCellLength=0) |
CreateGrid() This creates a grid object. |
The Grid Manager has a job unique among object managers in that the grid objects are relatively dumb. They are not all unique classes, they are separate instantiations of the same class. So the Grid Manager takes care of their construction.
Definitions of grid objects in the parameter or other file are assumed to be part of the definitions for the behaviors that will work on them, so the grid manager does not have a data reading routine. If another object wishes to initialize a grid object with data, it must assign the values itself after requesting that the grid manager create the grid.
Copyright 2003 Charles D. Canham.
|
Constructor. This constructor structure makes sure that there's no default constructor while also saying that this child class doesn't need its own constructor to do anything
|
|
CreateGrid() This creates a grid object. If there is already a grid object with the passed name, it overwrites it.
|
|
Creates grid objects from input file if there are maps.
Reimplemented from clObjectManagerBase. |
|
Returns the version number of the clGridManager class.
Reimplemented from clObjectManagerBase. |