![]() |
VR-Forces 4.6 Class Documentation
|
Public Member Functions | |
| virtual | ~DtScriptInterfaceFactory () |
| virtual DtScriptInterface * | createInstance (const DtString &type) |
| Creates an instance of a script interface given a type. | |
| virtual void | registerCreator (const DtString &type, DtScriptInterfaceCreatorFunc func) |
| Registers a new creator function for a particular script type. | |
Static Public Member Functions | |
| static DtScriptInterfaceFactory * | instance () |
| Gets the instance of the scriptInterfaceFactory. | |
| static void | setFactory (DtScriptInterfaceFactory *factory) |
| Sets the instance of the scriptInterfaceFactory. | |
| static DtScriptInterfaceFactory * | create () |
Protected Member Functions | |
| DtScriptInterfaceFactory () | |
| DtScriptInterfaceFactory (const DtScriptInterfaceFactory &other) | |
| DtScriptInterfaceFactory & | operator= (const DtScriptInterfaceFactory &other) |
Protected Attributes | |
| std::map< DtString, DtScriptInterfaceCreatorFunc > | myCreators |
Static Protected Attributes | |
| static DtScriptInterfaceFactory * | theFactoryInstance |
|
protected |
|
protected |
|
virtual |
|
protected |
|
static |
Gets the instance of the scriptInterfaceFactory.
|
virtual |
Creates an instance of a script interface given a type.
|
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 scriptInterfaceFactory.
|
static |
|
protected |
|
staticprotected |