VR-Forces 4.10 Class Documentation
 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. More...

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

Public Types

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

Public Member Functions

virtual ~DtChannelManager ()
 DTOR. More...
 
virtual DtChanneladdChannel (const std::string &displayName, const std::string &windowName, const DtChannelConfiguration &wc)
 Create a new channel. More...
 
virtual void destroyChannels ()
 Destroy all channels attached to the window. More...
 
virtual void destroyChannel (const std::string &displayName, const std::string &windowName, const std::string &channelName)
 Destroys a channel. More...
 
virtual bool modifyChannel (const std::string &displayName, const std::string &windowName, const std::string &oldChannelName, const DtChannelConfiguration &config)
 Modify channel. More...
 
virtual const ChannelMapchannels () const
 Get the channel list. More...
 
virtual ChannelMapchannels ()
 Get the channel list. More...
 
virtual bool tick ()
 Called once per logical frame. More...
 
virtual void realizeChannels (const std::string &windowName)
 Realize the current configured channels. More...
 
virtual void updateAllChannelProjections ()
 Update each channel's projection. More...
 
virtual void setMaxPagedLODs (int maxPagedLODs)
 Deprecated - Refer to DtWindowManager::setMaxPagedLOD. More...
 
DtChannelfindChannelByName (const std::string &name)
 Find a channel by its name. More...
 
const DtChannelfindChannelByName (const std::string &name) const
 

Protected Member Functions

 DtChannelManager (DtDe &anIG, DtWindow *window, DtChannelConfigurations &channelConfigs)
 The CTOR. More...
 
virtual DtChannelrealizeConfiguration (DtChannelConfiguration &)
 Create a channel via a configuration. More...
 

Protected Attributes

DtDemyDe
 
DtChannelManagerSignalermySignaler
 
DtWindowmyWindow
 
DtChannelConfigurationsmyChannelConfigurations
 
ChannelMap myChannels
 

Detailed Description

Base class for handling DtChannels.

Derived classes should override the tick() method and advance the frame of all channels.

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
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 Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)