![]() |
VR-Forces 4.3 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. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
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.
|
protected |
| makVrv::DtPropAdderFactory::~DtPropAdderFactory | ( | ) |
DTOR.
|
protected |
|
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.
|
staticprotected |
Get the file extension.
|
protected |