![]() |
VR-Forces Development_Version Class Documentation
|
Public Member Functions | |
| virtual | ~DtScriptResourceManagerFactory () |
| virtual DtScriptResourceManager * | createInstance (const DtString &type) |
| Creates an instance of a script resource manager given a type. | |
| virtual void | createInstancesOfEachType (DtScriptResourceManagerMap &managers) |
| Creates instances for all registered types. | |
| virtual void | registerCreator (const DtString &type, DtScriptResourceManagerCreatorFunc func) |
| Registers a new creator function for a particular script type. | |
Static Public Member Functions | |
| static DtScriptResourceManagerFactory * | instance () |
| Gets the instance of the scriptResourceManagerFactory. | |
| static void | setFactory (DtScriptResourceManagerFactory *factory) |
| Sets the instance of the scriptResourceManagerFactory. | |
| static DtScriptResourceManagerFactory * | create () |
Protected Member Functions | |
| DtScriptResourceManagerFactory () | |
| DtScriptResourceManagerFactory (const DtScriptResourceManagerFactory &other) | |
| DtScriptResourceManagerFactory & | operator= (const DtScriptResourceManagerFactory &other) |
Protected Attributes | |
| std::map< DtString, DtScriptResourceManagerCreatorFunc > | myCreators |
Static Protected Attributes | |
| static DtScriptResourceManagerFactory * | theFactoryInstance |
|
protected |
|
protected |
|
virtual |
|
protected |
|
static |
Gets the instance of the scriptResourceManagerFactory.
|
virtual |
Creates an instance of a script resource manager given a type.
|
virtual |
Creates instances for all registered types.
|
virtual |
Registers a new creator function for a particular script type.
If the same type is re-registered, then it will overwrite the existing
|
static |
Sets the instance of the scriptResourceManagerFactory.
|
static |
|
protected |
|
staticprotected |