SimObjectArrayFactory Class Reference

#include <SimObjectArrayFactory.h>

Inheritance diagram for SimObjectArrayFactory:

Inheritance graph
[legend]
Collaboration diagram for SimObjectArrayFactory:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SimObjectArrayFactory (vector< SimObjectFactory * > const &objectList)
 SimObjectArrayFactory (size_t size=0)
virtual ~SimObjectArrayFactory ()
virtual void add (SimObjectFactory const *const factory)
virtual void reset ()
virtual SimObjectcreate (void)
 Return a pointer to a newly created SimObject using the factories number engine (use setRandomEngine to specify).
virtual SimObjectcreate (RandomEngine *eng)
 Return a pointer to a newly created SimObject using the random number engine.
virtual object_type_t getObjectTypeID () const
 Return te object type of the objects generated by this factory.


Detailed Description

Definition at line 15 of file SimObjectArrayFactory.h.


Constructor & Destructor Documentation

SimObjectArrayFactory::SimObjectArrayFactory ( vector< SimObjectFactory * > const &  objectList  ) 

Definition at line 4 of file SimObjectArrayFactory.cpp.

SimObjectArrayFactory::SimObjectArrayFactory ( size_t  size = 0  ) 

Definition at line 15 of file SimObjectArrayFactory.cpp.

SimObjectArrayFactory::~SimObjectArrayFactory (  )  [virtual]

Definition at line 26 of file SimObjectArrayFactory.cpp.


Member Function Documentation

void SimObjectArrayFactory::add ( SimObjectFactory const *const   factory  )  [virtual]

Definition at line 20 of file SimObjectArrayFactory.cpp.

References SimObjectFactory::create().

Here is the call graph for this function:

void SimObjectArrayFactory::reset (  )  [virtual]

Definition at line 31 of file SimObjectArrayFactory.cpp.

SimObject * SimObjectArrayFactory::create ( void   )  [virtual]

Return a pointer to a newly created SimObject using the factories number engine (use setRandomEngine to specify).

Definition at line 41 of file SimObjectArrayFactory.cpp.

Referenced by create().

SimObject * SimObjectArrayFactory::create ( RandomEngine eng  )  [virtual]

Return a pointer to a newly created SimObject using the random number engine.

  • eng

Definition at line 36 of file SimObjectArrayFactory.cpp.

References create().

Here is the call graph for this function:

object_type_t SimObjectArrayFactory::getObjectTypeID (  )  const [virtual]

Return te object type of the objects generated by this factory.

Reimplemented from SimObjectFactory.

Definition at line 48 of file SimObjectArrayFactory.cpp.


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

Generated on Wed Jul 9 16:34:53 2008 for PCSIM by  doxygen 1.5.5