CompuCell3D::ClassRegistry Class Reference

#include <ClassRegistry.h>

Inheritance diagram for CompuCell3D::ClassRegistry:

Inheritance graph
[legend]
Collaboration diagram for CompuCell3D::ClassRegistry:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ClassRegistry (Simulator *simulator)
virtual ~ClassRegistry ()
SteppablegetStepper (std::string id)
void addStepper (std::string _type, Steppable *_steppable)
virtual void extraInit (Simulator *simulator)
virtual void start ()
virtual void step (const unsigned int currentStep)
virtual void finish ()
virtual void initModules (Simulator *_sim)

Private Types

typedef std::list< Steppable * > ActiveSteppers_t
typedef std::map< std::string,
Steppable * > 
ActiveSteppersMap_t

Private Attributes

BasicClassRegistry< SteppablesteppableRegistry
ActiveSteppers_t activeSteppers
ActiveSteppersMap_t activeSteppersMap
Simulatorsimulator
std::vector< ParseData * > steppableParseDataVector


Detailed Description

Definition at line 45 of file ClassRegistry.h.


Member Typedef Documentation

Definition at line 49 of file ClassRegistry.h.

typedef std::map<std::string, Steppable *> CompuCell3D::ClassRegistry::ActiveSteppersMap_t [private]

Definition at line 53 of file ClassRegistry.h.


Constructor & Destructor Documentation

ClassRegistry::ClassRegistry ( Simulator simulator  ) 

Definition at line 44 of file ClassRegistry.cpp.

virtual CompuCell3D::ClassRegistry::~ClassRegistry (  )  [inline, virtual]

Definition at line 64 of file ClassRegistry.h.


Member Function Documentation

Steppable* CompuCell3D::ClassRegistry::getStepper ( std::string  id  ) 

void ClassRegistry::addStepper ( std::string  _type,
Steppable _steppable 
)

Definition at line 128 of file ClassRegistry.cpp.

References activeSteppers, and activeSteppersMap.

Referenced by CompuCell3D::Simulator::initializeCC3D(), and initModules().

void ClassRegistry::extraInit ( Simulator simulator  )  [virtual]

Reimplemented from CompuCell3D::SimObject.

Definition at line 59 of file ClassRegistry.cpp.

References activeSteppers.

Referenced by CompuCell3D::Simulator::extraInit().

void ClassRegistry::start (  )  [virtual]

Implements CompuCell3D::Steppable.

Definition at line 66 of file ClassRegistry.cpp.

References activeSteppers.

Referenced by CompuCell3D::Simulator::start().

void ClassRegistry::step ( const unsigned int  currentStep  )  [virtual]

Implements CompuCell3D::Steppable.

Definition at line 72 of file ClassRegistry.cpp.

References activeSteppers.

Referenced by CompuCell3D::Simulator::step().

void ClassRegistry::finish (  )  [virtual]

Implements CompuCell3D::Steppable.

Definition at line 80 of file ClassRegistry.cpp.

References activeSteppers.

Referenced by CompuCell3D::Simulator::finish().

void ClassRegistry::initModules ( Simulator _sim  )  [virtual]


Member Data Documentation

Definition at line 46 of file ClassRegistry.h.

Definition at line 50 of file ClassRegistry.h.

Referenced by addStepper(), extraInit(), finish(), initModules(), start(), and step().

Definition at line 54 of file ClassRegistry.h.

Referenced by addStepper().

Reimplemented from CompuCell3D::SimObject.

Definition at line 57 of file ClassRegistry.h.

Definition at line 59 of file ClassRegistry.h.


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

Generated on Thu Dec 4 11:41:54 2008 for CompuCell3D by  doxygen 1.5.6