VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtChannelManager Class Reference

Base class for handling DtChannels. Derived classes should override the tick() method and advance the frame of all channels.

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

Public Types

typedef std::map< std::string,
DtChannel * > 
ChannelMap
 

Public Member Functions

virtual ~DtChannelManager ()
 
virtual DtChanneladdChannel (const std::string &displayName, const std::string &windowName, const DtChannelConfiguration &wc)
 
virtual void destroyChannels ()
 
virtual void destroyChannel (const std::string &displayName, const std::string &windowName, const std::string &channelName)
 
virtual bool modifyChannel (const std::string &displayName, const std::string &windowName, const std::string &oldChannelName, const DtChannelConfiguration &config)
 
virtual const ChannelMapchannels () const
 
virtual ChannelMapchannels ()
 
virtual bool tick ()
 
virtual void realizeChannels (const std::string &windowName)
 
virtual void updateAllChannelProjections ()
 
virtual void setMaxPagedLODs (int maxPagedLODs)
 
DtChannelfindChannelByName (const std::string &name)
 
const DtChannelfindChannelByName (const std::string &name) const
 

Protected Member Functions

 DtChannelManager (DtDe &anIG, DtWindow *window, DtChannelConfigurations &channelConfigs)
 
virtual DtChannelrealizeConfiguration (DtChannelConfiguration &)
 

Protected Attributes

DtDemyDe
 
DtChannelManagerSignalermySignaler
 
DtWindowmyWindow
 
DtChannelConfigurationsmyChannelConfigurations
 
ChannelMap myChannels
 

Member Typedef Documentation

typedef std::map<std::string,DtChannel*> makVrv::DtChannelManager::ChannelMap

Constructor & Destructor Documentation

makVrv::DtChannelManager::DtChannelManager ( DtDe anIG,
DtWindow window,
DtChannelConfigurations channelConfigs 
)
protected

The CTOR.

virtual makVrv::DtChannelManager::~DtChannelManager ( )
virtual

DTOR.

Member Function Documentation

virtual DtChannel& makVrv::DtChannelManager::addChannel ( const std::string &  displayName,
const std::string &  windowName,
const DtChannelConfiguration wc 
)
virtual

Create a new channel. A new channel configuration is added to three and a channel object is created and managed by this manager. Call destroy channel to destroy the channel object.

Exceptions
DtInvalidInputif the type is unknown.
virtual void makVrv::DtChannelManager::destroyChannels ( )
virtual

Destroy all channels attached to the window.

virtual void makVrv::DtChannelManager::destroyChannel ( const std::string &  displayName,
const std::string &  windowName,
const std::string &  channelName 
)
virtual

Destroys a channel.

Reimplemented in makVrv::DtOsgChannelManager.

virtual bool makVrv::DtChannelManager::modifyChannel ( const std::string &  displayName,
const std::string &  windowName,
const std::string &  oldChannelName,
const DtChannelConfiguration config 
)
virtual

Modify channel.

DtChannel* makVrv::DtChannelManager::findChannelByName ( const std::string &  name)

Find a channel by its name.

const DtChannel* makVrv::DtChannelManager::findChannelByName ( const std::string &  name) const

Find a channel by its name.

virtual const ChannelMap& makVrv::DtChannelManager::channels ( ) const
virtual

Get the channel list.

virtual ChannelMap& makVrv::DtChannelManager::channels ( )
virtual

Get the channel list.

virtual bool makVrv::DtChannelManager::tick ( )
virtual

Called once per logical frame. Override and advance the frame of each channel.

virtual void makVrv::DtChannelManager::realizeChannels ( const std::string &  windowName)
virtual

Realize the current configured channels.

virtual void makVrv::DtChannelManager::updateAllChannelProjections ( )
virtual

Update each channel's projection.

virtual void makVrv::DtChannelManager::setMaxPagedLODs ( int  maxPagedLODs)
inlinevirtual

Deprecated - Refer to DtWindowManager::setMaxPagedLOD.

Reimplemented in makVrv::DtOsgChannelManager.

virtual DtChannel* makVrv::DtChannelManager::realizeConfiguration ( DtChannelConfiguration )
protectedvirtual

Create a channel via a configuration.

Reimplemented in makVrv::DtOsgChannelManager.

Member Data Documentation

DtDe& makVrv::DtChannelManager::myDe
protected
DtChannelManagerSignaler& makVrv::DtChannelManager::mySignaler
protected
DtWindow* makVrv::DtChannelManager::myWindow
protected
DtChannelConfigurations& makVrv::DtChannelManager::myChannelConfigurations
protected
ChannelMap makVrv::DtChannelManager::myChannels
protected

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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)