![]() |
VR-Forces Developer's Guide
|
class DtSimComponentFactory:
DtSimComponentFactory is a hashlist of DtSimComponentCreatorFcn, indexed by a string type that represents the type of component to create.

Public Member Functions | |
| DtSimComponentFactory () | |
| DtSimComponentFactory (const DtSimComponentFactory &orig) | |
| const DtSimComponentFactory & | operator= (const DtSimComponentFactory &orig) |
| virtual | ~DtSimComponentFactory () override |
| virtual void | addCreatorFcn (const DtString &type, DtSimComponentCreatorFcn fcn) |
| virtual DtSimComponent * | createComponent (const DtString &name, const DtString &type, DtLocalObject *owner, DtSimulationServices *simServices, DtComponentDescriptor *compDesc, DtReaderWriterRegistry *registry=0) |
Static Public Member Functions | |
| static DtSimComponentFactory * | create () |
| DtSimComponentFactory::DtSimComponentFactory | ( | ) |
constructor
| DtSimComponentFactory::DtSimComponentFactory | ( | const DtSimComponentFactory & | orig | ) |
copy constructor
|
overridevirtual |
Destructor: deletes factory and any entries on the factory.
| const DtSimComponentFactory& DtSimComponentFactory::operator= | ( | const DtSimComponentFactory & | orig | ) |
assignment operator
|
virtual |
Add a creator function to the factory.
|
virtual |
|
static |