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

An object that manages 2D Channel-specific keyword-specified objects. More...

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

Public Types

typedef boost::unordered_map
< std::string,
DtChannelKeywordObject * > 
ObjectMap
typedef boost::unordered_map
< std::string, ObjectMap
ChannelMap

Public Member Functions

virtual ~DtChannelKeywordObjectManager ()
 DTOR.
const ChannelMapchannelMap () const
 Make the channelMap available.
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Static Public Member Functions

static
DtChannelKeywordObjectManager
instance (DtDe &de)
 Get an instance of the DtChannelKeywordObjectManager.

Protected Types

typedef std::vector< std::string > ChannelKeyList
typedef boost::unordered_map
< std::string, ChannelKeyList
WindowMap

Protected Member Functions

virtual void slot_channelCreated (DtChannelManager *, DtChannel *)
virtual void slot_channelToBeDestroyed (const std::string &deName, const std::string &winName, const std::string &channelName)
virtual void slot_channelConfigurationAdded (const std::string &deName, const std::string &winName, const DtChannelConfiguration &config)
virtual void slot_displayConfigurationRealized (const std::string &igName, const std::string &displayName)
virtual void slot_displayToBeDestroyed (const std::string &displayName)
virtual void slot_channelConfigurationModified (const std::string &deName, const std::string &winName, const std::string &oldChannelName, const DtChannelConfiguration &config)
virtual void slot_windowConfigurationModified (const std::string &deName, const std::string &oldWindowName, const DtWindowConfiguration &config)
virtual void processChannelConfiguration (const std::string &deName, const std::string &winName, const DtChannelConfiguration &config)
virtual std::string makeChannelKey (const std::string &deName, const std::string &winName, const std::string &channelName)
virtual std::string makeWindowKey (const std::string &deName, const std::string &winName)
virtual void addChannelKeywordObject (const std::string &channelKey, const std::string &keyword, DtChannelKeywordObject *keywordObject)
virtual void removeChannelKeywordObject (const std::string &channelKey, const std::string &keyword)
virtual void removeAllChannelKeywordObjectsFromChannel (const std::string &channelKey)
void addToWindowMap (const std::string &windowKey, const std::string &channelKey)
void removeFromWindowMap (const std::string &windowKey, const std::string &channelKey)
 DtChannelKeywordObjectManager (DtDe &de)
 CTOR.

Static Protected Member Functions

static std::string getChannelNameFromChannelKey (const std::string &channelKey)

Protected Attributes

DtDemyDe
DtSignalConnectionManager myConnections
ChannelMap myChannelMap
WindowMap myWindowMap

Friends

class DtChannelKeywordObjectManagerCreator
 Specify the Creator class as a friend.

Detailed Description

An object that manages 2D Channel-specific keyword-specified objects.

Member Typedef Documentation

typedef boost::unordered_map<std::string, DtChannelKeywordObject*> makVrv::DtChannelKeywordObjectManager::ObjectMap
typedef boost::unordered_map<std::string, ObjectMap> makVrv::DtChannelKeywordObjectManager::ChannelMap
typedef std::vector<std::string> makVrv::DtChannelKeywordObjectManager::ChannelKeyList
protected
typedef boost::unordered_map<std::string, ChannelKeyList > makVrv::DtChannelKeywordObjectManager::WindowMap
protected

Constructor & Destructor Documentation

virtual makVrv::DtChannelKeywordObjectManager::~DtChannelKeywordObjectManager ( )
virtual

DTOR.

makVrv::DtChannelKeywordObjectManager::DtChannelKeywordObjectManager ( DtDe de)
protected

CTOR.

Member Function Documentation

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

Get an instance of the DtChannelKeywordObjectManager.

This will be called by DtScene2D when in master mode to ensure the existence of manager

const ChannelMap& makVrv::DtChannelKeywordObjectManager::channelMap ( ) const

Make the channelMap available.

virtual void makVrv::DtChannelKeywordObjectManager::slot_channelCreated ( DtChannelManager ,
DtChannel  
)
protectedvirtual
virtual void makVrv::DtChannelKeywordObjectManager::slot_channelToBeDestroyed ( const std::string &  deName,
const std::string &  winName,
const std::string &  channelName 
)
protectedvirtual
virtual void makVrv::DtChannelKeywordObjectManager::slot_channelConfigurationAdded ( const std::string &  deName,
const std::string &  winName,
const DtChannelConfiguration config 
)
protectedvirtual
virtual void makVrv::DtChannelKeywordObjectManager::slot_displayConfigurationRealized ( const std::string &  igName,
const std::string &  displayName 
)
protectedvirtual
virtual void makVrv::DtChannelKeywordObjectManager::slot_displayToBeDestroyed ( const std::string &  displayName)
protectedvirtual
virtual void makVrv::DtChannelKeywordObjectManager::slot_channelConfigurationModified ( const std::string &  deName,
const std::string &  winName,
const std::string &  oldChannelName,
const DtChannelConfiguration config 
)
protectedvirtual
virtual void makVrv::DtChannelKeywordObjectManager::slot_windowConfigurationModified ( const std::string &  deName,
const std::string &  oldWindowName,
const DtWindowConfiguration config 
)
protectedvirtual
virtual void makVrv::DtChannelKeywordObjectManager::processChannelConfiguration ( const std::string &  deName,
const std::string &  winName,
const DtChannelConfiguration config 
)
protectedvirtual
virtual std::string makVrv::DtChannelKeywordObjectManager::makeChannelKey ( const std::string &  deName,
const std::string &  winName,
const std::string &  channelName 
)
protectedvirtual
virtual std::string makVrv::DtChannelKeywordObjectManager::makeWindowKey ( const std::string &  deName,
const std::string &  winName 
)
protectedvirtual
virtual void makVrv::DtChannelKeywordObjectManager::addChannelKeywordObject ( const std::string &  channelKey,
const std::string &  keyword,
DtChannelKeywordObject keywordObject 
)
protectedvirtual
virtual void makVrv::DtChannelKeywordObjectManager::removeChannelKeywordObject ( const std::string &  channelKey,
const std::string &  keyword 
)
protectedvirtual
virtual void makVrv::DtChannelKeywordObjectManager::removeAllChannelKeywordObjectsFromChannel ( const std::string &  channelKey)
protectedvirtual
void makVrv::DtChannelKeywordObjectManager::addToWindowMap ( const std::string &  windowKey,
const std::string &  channelKey 
)
protected
void makVrv::DtChannelKeywordObjectManager::removeFromWindowMap ( const std::string &  windowKey,
const std::string &  channelKey 
)
protected
static std::string makVrv::DtChannelKeywordObjectManager::getChannelNameFromChannelKey ( const std::string &  channelKey)
staticprotected

Friends And Related Function Documentation

Specify the Creator class as a friend.

Member Data Documentation

DtDe& makVrv::DtChannelKeywordObjectManager::myDe
protected
DtSignalConnectionManager makVrv::DtChannelKeywordObjectManager::myConnections
protected
ChannelMap makVrv::DtChannelKeywordObjectManager::myChannelMap
protected
WindowMap makVrv::DtChannelKeywordObjectManager::myWindowMap
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)