VR-Forces 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 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
 

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 Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)