VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
DtScriptInterfaceFactory Class Reference

Public Member Functions

virtual ~DtScriptInterfaceFactory ()
 
virtual DtScriptInterfacecreateInstance (const DtString &type, DtSimulationServices *)
 
virtual void registerCreator (const DtString &type, DtScriptInterfaceCreatorFunc func)
 

Static Public Member Functions

static DtScriptInterfaceFactoryinstance ()
 
static void setFactory (DtScriptInterfaceFactory *factory)
 
static DtScriptInterfaceFactorycreate ()
 

Protected Member Functions

 DtScriptInterfaceFactory ()
 
 DtScriptInterfaceFactory (const DtScriptInterfaceFactory &other)
 
DtScriptInterfaceFactoryoperator= (const DtScriptInterfaceFactory &other)
 

Protected Attributes

std::map< DtString,
DtScriptInterfaceCreatorFunc
myCreators
 

Static Protected Attributes

static DtScriptInterfaceFactorytheFactoryInstance
 

Constructor & Destructor Documentation

DtScriptInterfaceFactory::DtScriptInterfaceFactory ( )
protected
DtScriptInterfaceFactory::DtScriptInterfaceFactory ( const DtScriptInterfaceFactory other)
protected
virtual DtScriptInterfaceFactory::~DtScriptInterfaceFactory ( )
virtual

Member Function Documentation

DtScriptInterfaceFactory& DtScriptInterfaceFactory::operator= ( const DtScriptInterfaceFactory other)
protected
static DtScriptInterfaceFactory* DtScriptInterfaceFactory::instance ( )
static

Gets the instance of the scriptInterfaceFactory.

virtual DtScriptInterface* DtScriptInterfaceFactory::createInstance ( const DtString type,
DtSimulationServices  
)
virtual

Creates an instance of a script interface given a type.

virtual void DtScriptInterfaceFactory::registerCreator ( const DtString type,
DtScriptInterfaceCreatorFunc  func 
)
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 void DtScriptInterfaceFactory::setFactory ( DtScriptInterfaceFactory factory)
static

Sets the instance of the scriptInterfaceFactory.

static DtScriptInterfaceFactory* DtScriptInterfaceFactory::create ( )
static

Member Data Documentation

std::map<DtString, DtScriptInterfaceCreatorFunc> DtScriptInterfaceFactory::myCreators
protected
DtScriptInterfaceFactory* DtScriptInterfaceFactory::theFactoryInstance
staticprotected

The documentation for this class was generated from the following file:

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)