![]() |
VR-Forces 4.3.1 Class Documentation
|
Base class for handling DtChannels. More...

Public Types | |
| typedef std::map< std::string, DtChannel * > | ChannelMap |
Public Member Functions | |
| virtual | ~DtChannelManager () |
| DTOR. | |
| virtual DtChannel & | addChannel (const std::string &displayName, const std::string &windowName, const DtChannelConfiguration &wc) |
| Create a new channel. | |
| virtual void | destroyChannels () |
| Destroy all channels attached to the window. | |
| virtual void | destroyChannel (const std::string &displayName, const std::string &windowName, const std::string &channelName) |
| Destroys a channel. | |
| virtual bool | modifyChannel (const std::string &displayName, const std::string &windowName, const std::string &oldChannelName, const DtChannelConfiguration &config) |
| Modify channel. | |
| virtual const ChannelMap & | channels () const |
| Get the channel list. | |
| virtual ChannelMap & | channels () |
| Get the channel list. | |
| virtual bool | tick () |
| Called once per logical frame. | |
| virtual void | realizeChannels (const std::string &windowName) |
| Realize the current configured channels. | |
| virtual void | updateAllChannelProjections () |
| Update each channel's projection. | |
| DtChannel * | findChannelByName (const std::string &name) |
| Find a channel by its name. | |
| const DtChannel * | findChannelByName (const std::string &name) const |
| Find a channel by its name. | |
Protected Member Functions | |
| DtChannelManager (DtDe &anIG, DtWindow *window, DtChannelConfigurations &channelConfigs) | |
| The CTOR. | |
| virtual DtChannel * | realizeConfiguration (DtChannelConfiguration &) |
| Create a channel via a configuration. | |
Protected Attributes | |
| DtDe & | myDe |
| DtChannelManagerSignaler & | mySignaler |
| DtWindow * | myWindow |
| DtChannelConfigurations & | myChannelConfigurations |
| ChannelMap | myChannels |
Base class for handling DtChannels.
Derived classes should override the tick() method and advance the frame of all channels.
| typedef std::map<std::string,DtChannel*> makVrv::DtChannelManager::ChannelMap |
|
protected |
The CTOR.
|
virtual |
DTOR.
|
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.
| DtInvalidInput | if the type is unknown. |
|
virtual |
Destroy all channels attached to the window.
|
virtual |
Destroys a channel.
Reimplemented in makVrv::DtOsgChannelManager.
|
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 |
Get the channel list.
|
virtual |
Get the channel list.
|
virtual |
Called once per logical frame.
Override and advance the frame of each channel.
|
virtual |
Realize the current configured channels.
|
virtual |
Update each channel's projection.
|
protectedvirtual |
Create a channel via a configuration.
Reimplemented in makVrv::DtOsgChannelManager.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |