VR-Forces 4.8 Class Documentation
 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
DtScriptResourceManagerFactory Class Reference

Public Member Functions

virtual ~DtScriptResourceManagerFactory ()
 
virtual DtScriptResourceManagercreateInstance (const DtString &type)
 Creates an instance of a script resource manager given a type. More...
 
virtual void createInstancesOfEachType (DtScriptResourceManagerMap &managers)
 Creates instances for all registered types. More...
 
virtual void registerCreator (const DtString &type, DtScriptResourceManagerCreatorFunc func)
 Registers a new creator function for a particular script type. More...
 

Static Public Member Functions

static
DtScriptResourceManagerFactory
instance ()
 Gets the instance of the scriptResourceManagerFactory. More...
 
static void setFactory (DtScriptResourceManagerFactory *factory)
 Sets the instance of the scriptResourceManagerFactory. More...
 
static
DtScriptResourceManagerFactory
create ()
 

Protected Member Functions

 DtScriptResourceManagerFactory ()
 
 DtScriptResourceManagerFactory (const DtScriptResourceManagerFactory &other)
 
DtScriptResourceManagerFactoryoperator= (const DtScriptResourceManagerFactory &other)
 

Protected Attributes

std::map< DtString,
DtScriptResourceManagerCreatorFunc
myCreators
 

Static Protected Attributes

static
DtScriptResourceManagerFactory
theFactoryInstance
 

Constructor & Destructor Documentation

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

Member Function Documentation

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

Gets the instance of the scriptResourceManagerFactory.

virtual DtScriptResourceManager* DtScriptResourceManagerFactory::createInstance ( const DtString type)
virtual

Creates an instance of a script resource manager given a type.

virtual void DtScriptResourceManagerFactory::createInstancesOfEachType ( DtScriptResourceManagerMap managers)
virtual

Creates instances for all registered types.

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

Sets the instance of the scriptResourceManagerFactory.

static DtScriptResourceManagerFactory* DtScriptResourceManagerFactory::create ( )
static

Member Data Documentation

std::map<DtString, DtScriptResourceManagerCreatorFunc> DtScriptResourceManagerFactory::myCreators
protected
DtScriptResourceManagerFactory* DtScriptResourceManagerFactory::theFactoryInstance
staticprotected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)