![]() |
VR-Forces 5.0.3 Developer's Guide
|
Public Member Functions | |
| virtual | ~DtScriptInterfaceFactory () |
| virtual DtScriptInterface * | createInstance (const DtString &type, DtSimulationServices *) |
| virtual void | registerCreator (const DtString &type, DtScriptInterfaceCreatorFunc func) |
Static Public Member Functions | |
| static DtScriptInterfaceFactory * | instance () |
| static void | setFactory (DtScriptInterfaceFactory *factory) |
| 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 |