![]() |
VR-Forces 5.0.2 Developer's Guide
|
The scene object creators are registered with the scene object factory for accessing DtSceneObjectCreators via string names. It is only valid to register classes before IG initialization.

Classes | |
| class | DtAutoUnregistrar |
Public Types | |
| typedef DtAgentCreator *(* | AutoRegisterFunction )() |
Public Member Functions | |
| virtual | ~DtAgentFactory () |
| virtual void | registerAgentCreator (const std::string &className, DtAgentCreator *creator) |
| virtual DtAgent * | createAgent (const std::string &className, DtAgentManagerInterface &sceneInterface) const |
| virtual DtAgentUpdateResolverInterface * | createResolver (const std::string &className, DtUniqueID id) const |
| virtual void | processAutoUnregisters () |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtAgentFactory & | instance (DtDe &de) |
| static bool | autoRegister (const std::string &className, AutoRegisterFunction function) |
| static void | autoUnregister (const std::string &className) |
Protected Types | |
| typedef boost::unordered_map < std::string, DtAgentCreator * > | RegistrationMap |
| typedef boost::unordered_map < std::string, AutoRegisterFunction > | AutoRegistrationMap |
| typedef std::list< std::string > | RemoveList |
Protected Member Functions | |
| DtAgentFactory (DtDe &de) | |
Static Protected Member Functions | |
| static AutoRegistrationMap & | autoTypes () |
| static RemoveList & | removeTypes () |
| static bool & | destructed () |
Protected Attributes | |
| DtDe & | myDe |
| RegistrationMap | myTypes |
| typedef DtAgentCreator*(* makVrv::DtAgentFactory::AutoRegisterFunction)() |
|
protected |
|
protected |
|
protected |
|
virtual |
DTOR.
|
protected |
Protected CTOR, use the static instance to get an factory instance.
|
static |
Get an instance to the DtAgentFactory.
|
virtual |
Register a new scene object creator.
| DtCorruptedState | if the IG has been initialized. |
|
virtual |
Create a proxy object via class name.
| DtInvalidInput | if no creator was registered with the input className. |
|
virtual |
Create an resolver object via class name.
| DtInvalidInput | if no creator was registered with the input className. |
|
virtual |
called by the library loader after unwanted plugins have been destroyed.
|
static |
Auto-Register.
|
static |
|
staticprotected |
Protected Auto registered type map.
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |