![]() |
VR-Forces Developer's Guide
|
DtSubordinateEntryFactory is a hashlist of DtSubordinateEntryCreatorFcn, indexed by a string type that represents the type of subordinate Entry to create. The Entry indicates the type of subordinate to create, how it attaches to other components, and provides parameter values as well.

Public Member Functions | |
| DtSubordinateEntryFactory () | |
| DtSubordinateEntryFactory (const DtSubordinateEntryFactory &orig) | |
| const DtSubordinateEntryFactory & | operator= (const DtSubordinateEntryFactory &orig) |
| virtual | ~DtSubordinateEntryFactory () override |
| virtual void | addCreatorFcn (const DtString &type, DtSubordinateEntryCreatorFcn fcn) |
| virtual DtSubordinateEntry * | createSubordinateEntry (const DtString &type) |
Static Public Member Functions | |
| static DtSubordinateEntryFactory * | create () |
| DtSubordinateEntryFactory::DtSubordinateEntryFactory | ( | ) |
constructor
| DtSubordinateEntryFactory::DtSubordinateEntryFactory | ( | const DtSubordinateEntryFactory & | orig | ) |
copy constructor
|
overridevirtual |
destructor: deletes factory and any entries on the factory.
| const DtSubordinateEntryFactory& DtSubordinateEntryFactory::operator= | ( | const DtSubordinateEntryFactory & | orig | ) |
assignment operator
|
virtual |
Add a creator function to the factory.
|
virtual |
|
static |