VR-Forces 4.1.1 Class Documentation
List of all members | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
makVrv::DtChannelKeywordObjectFactory Class Reference

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

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

Public Member Functions

virtual ~DtChannelKeywordObjectFactory ()
 DTOR.
virtual void registerChannelKeywordObjectCreator (const std::string &keyword, DtChannelKeywordObjectCreator *creator)
 Register a new channel keyword object creator.
virtual DtChannelKeywordObjectcreateChannelKeywordObject (const std::string &keyword, const std::string &displayName, const std::string &windowName, const DtChannelConfiguration &channelConfig) const
 Create a channel keyword object via keyword.
virtual bool isKeywordRegistered (const std::string &keyword) const
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Static Public Member Functions

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

Protected Types

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

Protected Member Functions

 DtChannelKeywordObjectFactory (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, DtChannelKeywordObjectCreator*> makVrv::DtChannelKeywordObjectFactory::RegistrationMap
protected

Constructor & Destructor Documentation

virtual makVrv::DtChannelKeywordObjectFactory::~DtChannelKeywordObjectFactory ( )
virtual

DTOR.

makVrv::DtChannelKeywordObjectFactory::DtChannelKeywordObjectFactory ( DtDe de)
protected

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

Member Function Documentation

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

Get an instance to the DtChannelKeywordObjectFactory.

static void makVrv::DtChannelKeywordObjectFactory::registerInstance ( DtDe de,
DtChannelKeywordObjectFactory anInstance 
)
static
virtual void makVrv::DtChannelKeywordObjectFactory::registerChannelKeywordObjectCreator ( const std::string &  keyword,
DtChannelKeywordObjectCreator creator 
)
virtual

Register a new channel keyword object creator.

Exceptions
DtCorruptedStateif the IG has been initialized.
virtual DtChannelKeywordObject* makVrv::DtChannelKeywordObjectFactory::createChannelKeywordObject ( const std::string &  keyword,
const std::string &  displayName,
const std::string &  windowName,
const DtChannelConfiguration channelConfig 
) const
virtual

Create a channel keyword object via keyword.

Exceptions
DtInvalidInputif no creator was registered with the input keyword.
virtual bool makVrv::DtChannelKeywordObjectFactory::isKeywordRegistered ( const std::string &  keyword) const
virtual

Member Data Documentation

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

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

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)