![]() |
VR-Forces 4.0.4 Class Documentation
|
class DtSimComponentFactory: More...

Public Member Functions | |
| DtSimComponentFactory () | |
| constructor | |
| DtSimComponentFactory (const DtSimComponentFactory &orig) | |
| copy constructor | |
| const DtSimComponentFactory & | operator= (const DtSimComponentFactory &orig) |
| assignment operator | |
| virtual | ~DtSimComponentFactory () |
| Destructor: deletes factory and any entries on the factory. | |
| virtual void | addCreatorFcn (const DtString &type, DtSimComponentCreatorFcn fcn) |
| Add a creator function to the factory. | |
| virtual DtSimComponent * | createComponent (const DtString &name, const DtString &type, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *compDesc, DtReaderWriterRegistry *registry=0) |
Static Public Member Functions | |
| static DtSimComponentFactory * | create () |
class DtSimComponentFactory:
DtSimComponentFactory is a hashlist of DtSimComponentCreatorFcn, indexed by a string type that represents the type of component to create.
constructor
| DtSimComponentFactory::DtSimComponentFactory | ( | const DtSimComponentFactory & | orig | ) |
copy constructor
| virtual DtSimComponentFactory::~DtSimComponentFactory | ( | ) | [virtual] |
Destructor: deletes factory and any entries on the factory.
| const DtSimComponentFactory& DtSimComponentFactory::operator= | ( | const DtSimComponentFactory & | orig | ) |
assignment operator
| virtual void DtSimComponentFactory::addCreatorFcn | ( | const DtString & | type, |
| DtSimComponentCreatorFcn | fcn | ||
| ) | [virtual] |
Add a creator function to the factory.
| virtual DtSimComponent* DtSimComponentFactory::createComponent | ( | const DtString & | name, |
| const DtString & | type, | ||
| DtVrfObject * | owner, | ||
| DtSimManager * | simManager, | ||
| DtComponentDescriptor * | compDesc, | ||
| DtReaderWriterRegistry * | registry = 0 |
||
| ) | [virtual] |
| static DtSimComponentFactory* DtSimComponentFactory::create | ( | ) | [static] |