VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
makVrv::DtEffectControllerFactory Class Reference

The scene object creators are registered with the scene object factory for accessing DtSceneObjectCreators via string names. More...

Inheritance diagram for makVrv::DtEffectControllerFactory:
Inheritance graph
[legend]

Public Types

typedef std::vector
< DtOsgEffectTextureController * > 
ControllerVec

Public Member Functions

virtual ~DtEffectControllerFactory ()
 DTOR.
virtual void registerCreator (const std::string &name, DtEffectControllerCreator *creator)
 Register a new channel keyword object creator.
virtual
DtOsgEffectTextureController
create (const std::string &name, DtOsgFileCache &fileCache, DtOsgShaderManager &shaderMgr) const
 Create a specific controller.
virtual ControllerVec createAll (DtOsgFileCache &fileCache, DtOsgShaderManager &shaderMgr) const
 Create one of everything in the factory.
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Static Public Member Functions

static DtEffectControllerFactoryinstance (DtDe &de)
 Get an instance to the DtEffectControllerFactory.
static void registerInstance (DtDe &de, DtEffectControllerFactory *anInstance)

Protected Types

typedef boost::unordered_map
< std::string,
DtEffectControllerCreator * > 
RegistrationMap

Protected Member Functions

 DtEffectControllerFactory (DtDe &de)
 Protected CTOR, use the static instance to get an factory instance.

Protected Attributes

DtDemyDe
RegistrationMap myCreators

Detailed Description

The scene object creators are registered with the scene object factory for accessing DtSceneObjectCreators via string names.

It is only valid to register classes before IG initialization.

Member Typedef Documentation

typedef boost::unordered_map<std::string, DtEffectControllerCreator*> makVrv::DtEffectControllerFactory::RegistrationMap
protected

Constructor & Destructor Documentation

virtual makVrv::DtEffectControllerFactory::~DtEffectControllerFactory ( )
virtual

DTOR.

makVrv::DtEffectControllerFactory::DtEffectControllerFactory ( DtDe de)
protected

Protected CTOR, use the static instance to get an factory instance.

Member Function Documentation

static DtEffectControllerFactory& makVrv::DtEffectControllerFactory::instance ( DtDe de)
static

Get an instance to the DtEffectControllerFactory.

static void makVrv::DtEffectControllerFactory::registerInstance ( DtDe de,
DtEffectControllerFactory anInstance 
)
static
virtual void makVrv::DtEffectControllerFactory::registerCreator ( const std::string &  name,
DtEffectControllerCreator creator 
)
virtual

Register a new channel keyword object creator.

Exceptions
DtCorruptedStateif the IG has been initialized.
virtual DtOsgEffectTextureController* makVrv::DtEffectControllerFactory::create ( const std::string &  name,
DtOsgFileCache fileCache,
DtOsgShaderManager shaderMgr 
) const
virtual

Create a specific controller.

virtual ControllerVec makVrv::DtEffectControllerFactory::createAll ( DtOsgFileCache fileCache,
DtOsgShaderManager shaderMgr 
) const
virtual

Create one of everything in the factory.

Member Data Documentation

DtDe& makVrv::DtEffectControllerFactory::myDe
protected
RegistrationMap makVrv::DtEffectControllerFactory::myCreators
protected

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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)