VR-Forces 4.6 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.
virtual void createInstancesOfEachType (DtScriptResourceManagerMap &managers)
 Creates instances for all registered types.
virtual void registerCreator (const DtString &type, DtScriptResourceManagerCreatorFunc func)
 Registers a new creator function for a particular script type.

Static Public Member Functions

static
DtScriptResourceManagerFactory
instance ()
 Gets the instance of the scriptResourceManagerFactory.
static void setFactory (DtScriptResourceManagerFactory *factory)
 Sets the instance of the scriptResourceManagerFactory.
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 Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)