![]() |
VR-Forces 4.0.4 Class Documentation
|
A factory for creating prop adders. More...

Public Member Functions | |
| ~DtPropAdderFactory () | |
| DTOR. | |
| DtPropAdder * | createAdder (const std::string &filename, DtAgentManagerInterface &agentManagerInterface) |
| Create an adder. | |
| void | setAdderCreator (const std::string &extension, DtPropAdderCreator *creator) |
| Creator. | |
Static Public Member Functions | |
| static DtPropAdderFactory & | instance (DtDe &de) |
| Static accessor. | |
Protected Types | |
| typedef std::map< std::string, DtPropAdderCreator * > | CreatorMap |
Protected Member Functions | |
| DtPropAdderFactory () | |
Static Protected Member Functions | |
| static std::string | extractFileExtension (const std::string &fileToOpen) |
| Get the file extension. | |
Protected Attributes | |
| CreatorMap | myCreators |
A factory for creating prop adders.
typedef std::map<std::string,DtPropAdderCreator*> makVrv::DtPropAdderFactory::CreatorMap [protected] |
| makVrv::DtPropAdderFactory::DtPropAdderFactory | ( | ) | [protected] |
| static DtPropAdderFactory& makVrv::DtPropAdderFactory::instance | ( | DtDe & | de | ) | [static] |
Static accessor.
| DtPropAdder* makVrv::DtPropAdderFactory::createAdder | ( | const std::string & | filename, |
| DtAgentManagerInterface & | agentManagerInterface | ||
| ) |
Create an adder.
| void makVrv::DtPropAdderFactory::setAdderCreator | ( | const std::string & | extension, |
| DtPropAdderCreator * | creator | ||
| ) |
Creator.
| static std::string makVrv::DtPropAdderFactory::extractFileExtension | ( | const std::string & | fileToOpen | ) | [static, protected] |
Get the file extension.
CreatorMap makVrv::DtPropAdderFactory::myCreators [protected] |