![]() |
VR-Forces 4.1.1 Class Documentation
|
Public Member Functions | |
| virtual | ~DtScriptInterfaceFactory () |
| virtual DtScriptInterface * | createInstance (const std::string &type) |
| Creates an instance of a script interface given a type. | |
| virtual void | destroyInstance (DtScriptInterface *iFace) |
| virtual void | registerCreator (const std::string &type, DtScriptInterfaceCreatorFunc func) |
| Registers a new creator function for a particular script type. | |
| virtual void | setMaxInterfaceReuse (unsigned int count) |
| virtual unsigned int | maxInterfaceReuse () const |
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 | |
| unsigned int | myMaxInterfaceReuse |
| std::map< std::string, DtScriptInterfaceCreatorFunc > | myCreators |
| std::deque< DtScriptInterface * > | myScriptInterfaceReuse |
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 |
|
virtual |
Registers a new creator function for a particular script type.
If the same type is re-registered, then it will overwrite the existing
|
virtual |
|
inlinevirtual |
|
static |
Sets the instance of the scriptInterfaceFactory.
|
static |
|
protected |
|
protected |
|
protected |
|
staticprotected |