![]() |
VR-Forces 4.0.4 Class Documentation
|
DtSimCommandFactory is a hashlist of DtTaskFactoryEntrys, indexed by the string type that represents the type of command to create. More...

Public Member Functions | |
| DtSimCommandFactory () | |
| constructor | |
| DtSimCommandFactory (const DtSimCommandFactory &orig) | |
| copy constructor | |
| const DtSimCommandFactory & | operator= (const DtSimCommandFactory &orig) |
| assignment operator | |
| virtual | ~DtSimCommandFactory () |
| Destructor: deletes factory and any entries on the factory. | |
| virtual void | addCreatorFcn (const DtString &type, const int intType, DtSimCommandCreatorFcn fcn) |
| Add a creator function to the factory. | |
| virtual DtSimCommand * | createSimCommand (const DtString &type) |
| virtual DtSimCommand * | createSimCommand (int type) |
Static Public Member Functions | |
| static DtSimCommandFactory * | create () |
Protected Attributes | |
| DtHashlist | myStringTypeHashlist |
| DtHashlist | myIntTypeHashlist |
DtSimCommandFactory is a hashlist of DtTaskFactoryEntrys, indexed by the string type that represents the type of command to create.
constructor
| DtSimCommandFactory::DtSimCommandFactory | ( | const DtSimCommandFactory & | orig | ) |
copy constructor
| virtual DtSimCommandFactory::~DtSimCommandFactory | ( | ) | [virtual] |
Destructor: deletes factory and any entries on the factory.
| const DtSimCommandFactory& DtSimCommandFactory::operator= | ( | const DtSimCommandFactory & | orig | ) |
assignment operator
| virtual void DtSimCommandFactory::addCreatorFcn | ( | const DtString & | type, |
| const int | intType, | ||
| DtSimCommandCreatorFcn | fcn | ||
| ) | [virtual] |
Add a creator function to the factory.
| virtual DtSimCommand* DtSimCommandFactory::createSimCommand | ( | const DtString & | type | ) | [virtual] |
| virtual DtSimCommand* DtSimCommandFactory::createSimCommand | ( | int | type | ) | [virtual] |
| static DtSimCommandFactory* DtSimCommandFactory::create | ( | ) | [static] |
Reimplemented in DtDefaultSimCommandFactory.
DtHashlist DtSimCommandFactory::myStringTypeHashlist [protected] |
DtHashlist DtSimCommandFactory::myIntTypeHashlist [protected] |