![]() |
VR-Forces 4.6.1 Class Documentation
|
class DtSimResourceFactory: More...

Public Member Functions | |
| DtSimResourceFactory () | |
| constructor | |
| DtSimResourceFactory (const DtSimResourceFactory &orig) | |
| copy constructor | |
| const DtSimResourceFactory & | operator= (const DtSimResourceFactory &orig) |
| assignment operator | |
| virtual | ~DtSimResourceFactory () |
| Destructor: deletes factory and any entries on the factory. | |
| virtual void | addCreatorFcn (const DtString &type, DtSimResourceCreatorFcn fcn) |
| Add a creator function to the factory. | |
| virtual DtSimResource * | createResource (const DtString &type) |
| Create a DtSimResource. | |
Static Public Member Functions | |
| static DtSimResourceFactory * | create () |
| Create a DtSimResourceFactory. | |
class DtSimResourceFactory:
DtSimResourceFactory is a hashlist of DtSimResourceCreatorFcn, indexed by a string type that represents the type of resource to create.
| DtSimResourceFactory::DtSimResourceFactory | ( | ) |
constructor
| DtSimResourceFactory::DtSimResourceFactory | ( | const DtSimResourceFactory & | orig | ) |
copy constructor
|
virtual |
Destructor: deletes factory and any entries on the factory.
| const DtSimResourceFactory& DtSimResourceFactory::operator= | ( | const DtSimResourceFactory & | orig | ) |
assignment operator
|
virtual |
Add a creator function to the factory.
|
virtual |
Create a DtSimResource.
|
static |
Create a DtSimResourceFactory.
Reimplemented in DtDefaultResourceFactory.