17 #include <unordered_map>
23 class DtAgentManagerInterface;
25 class DtChannelKeywordObject;
26 class DtChannelConfiguration;
27 class DtWindowConfiguration;
28 class DtChannelManager;
30 class DtWindowConfiguration;
40 using ObjectMap = std::unordered_map<std::string, DtChannelKeywordObject*> ;
43 using ChannelMap = std::unordered_map<std::string, ObjectMap> ;
66 virtual void slot_channelToBeDestroyed(
const std::string& deName,
67 const std::string& winName,
const std::string& channelName );
69 virtual void slot_channelConfigurationAdded(
const std::string& deName,
72 virtual void slot_displayConfigurationRealized(
const std::string& igName,
73 const std::string& displayName );
75 virtual void slot_displayToBeDestroyed(
const std::string& displayName );
77 virtual void slot_channelConfigurationModified(
const std::string& deName,
78 const std::string& winName,
const std::string& oldChannelName,
81 virtual void slot_windowConfigurationModified(
const std::string& deName,
88 virtual void processChannelConfiguration(
const std::string& deName,
91 virtual std::string makeChannelKey(
const std::string& deName,
92 const std::string& winName,
const std::string& channelName );
94 virtual std::string makeWindowKey(
const std::string& deName,
95 const std::string& winName );
97 virtual void addChannelKeywordObject(
const std::string& channelKey,
100 virtual void removeChannelKeywordObject(
const std::string& channelKey,
101 const std::string& keyword );
105 virtual void removeAllChannelKeywordObjectsFromChannel(
const std::string& channelKey );
107 void addToWindowMap(
const std::string& windowKey,
const std::string& channelKey );
109 void removeFromWindowMap(
const std::string& windowKey,
const std::string& channelKey );
111 static std::string getChannelNameFromChannelKey(
const std::string& channelKey );
123 using WindowMap = std::unordered_map<std::string, ChannelKeyList>;
An object that manages 2D Channel-specific keyword-specified objects.
Definition: DtChannelKeywordObjectManager.h:34
The base class for all channel keyword objects.
Definition: DtChannelKeywordObject.h:25
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
ChannelMap myChannelMap
This map provides a pointer to CompassMap given a ChannelName :: WindowName :: DisplayName string...
Definition: DtChannelKeywordObjectManager.h:131
DtSignalConnectionManager myConnections
Definition: DtChannelKeywordObjectManager.h:126
std::vector< std::string > ChannelKeyList
This is a map of channel key lists indexed by window key Given a deName/windowName, we can get all the channel keys for channels in that window that have compasses.
Definition: DtChannelKeywordObjectManager.h:122
This owns a list of channel configurations.
Definition: DtWindowConfiguration.h:26
std::unordered_map< std::string, ChannelKeyList > WindowMap
Definition: DtChannelKeywordObjectManager.h:123
WindowMap myWindowMap
Definition: DtChannelKeywordObjectManager.h:133
The abstract Channel Class.
Definition: DtChannel.h:35
Contains makVrv::DtVirtualBaseClass class.
std::unordered_map< std::string, DtChannelKeywordObject * > ObjectMap
This is a map of channel keyword objects indexed by keyword name. each channel may have such a map...
Definition: DtChannelKeywordObjectManager.h:40
DtDe & myDe
Definition: DtChannelKeywordObjectManager.h:125
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
Compass Manager creator.
Definition: DtChannelKeywordObjectManager.h:138
Base class for handling DtChannels. Derived classes should override the tick() method and advance the...
Definition: DtChannelManager.h:32
Base class to provide boost signal/slot management.
Configuration for a single channel Serialized and sent to remote displays as necessary to configure r...
Definition: DtChannelConfiguration.h:24
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
std::unordered_map< std::string, ObjectMap > ChannelMap
This is a map of ObjectMaps, indexed by ChannelName :: WindowName :: DisplayName. ...
Definition: DtChannelKeywordObjectManager.h:43
Contains DLL export macros.