![]() |
VR-Forces 4.1 Class Documentation
|
DtComponentDescriptorFactory is a hashlist of DtComponentDescriptorCreatorFcn, indexed by a string type that represents the type of component descriptor to create. More...

Public Member Functions | |
| DtComponentDescriptorFactory () | |
| constructor | |
| DtComponentDescriptorFactory (const DtComponentDescriptorFactory &orig) | |
| copy constructor | |
| const DtComponentDescriptorFactory & | operator= (const DtComponentDescriptorFactory &orig) |
| assignment operator | |
| virtual | ~DtComponentDescriptorFactory () |
| destructor: deletes factory and any entries on the factory. | |
| virtual void | addCreatorFcn (const DtString &type, DtComponentDescriptorCreatorFcn fcn) |
| Add a creator function to the factory. | |
| virtual DtComponentDescriptor * | createComponentDescriptor (const DtString &type) |
Static Public Member Functions | |
| static DtComponentDescriptorFactory * | create () |
DtComponentDescriptorFactory is a hashlist of DtComponentDescriptorCreatorFcn, indexed by a string type that represents the type of component descriptor to create.
The descriptor indicates the type of component to create, how it attaches to other components, and provides parameter values as well.
| DtComponentDescriptorFactory::DtComponentDescriptorFactory | ( | ) |
constructor
| DtComponentDescriptorFactory::DtComponentDescriptorFactory | ( | const DtComponentDescriptorFactory & | orig | ) |
copy constructor
|
virtual |
destructor: deletes factory and any entries on the factory.
| const DtComponentDescriptorFactory& DtComponentDescriptorFactory::operator= | ( | const DtComponentDescriptorFactory & | orig | ) |
assignment operator
|
virtual |
Add a creator function to the factory.
|
virtual |
|
static |
Reimplemented in DtDefaultComponentDescriptorFactory.