19 #include <boost/unordered_map.hpp>
20 #include <boost/unordered_set.hpp>
26 class DtElementAttribute;
27 class DtElementChanges;
79 virtual bool getElementDisplayName(
DtElementID elementId, std::string& value)
const;
87 virtual bool getElementDisplayName(
const DtElementEntry& entry, std::string& value)
const;
94 virtual bool getElementObjectId(
const DtElementEntry& entry, std::string& value)
const;
99 virtual bool getElementObjectId(
DtElementID elementId, std::string& value)
const;
106 virtual bool getElementObjectType(
const DtElementEntry& entry, std::string& value)
const;
111 virtual bool getElementObjectType(
DtElementID elementId, std::string& value)
const;
142 virtual bool getElementDriverType(
const DtElementEntry& entry, std::string& value)
const;
147 virtual bool getElementDriverType(
DtElementID elementId, std::string& value)
const;
151 virtual bool getElementObjectVisibility(
const DtElementEntry& entry,
bool& value)
const;
156 virtual bool getElementObjectVisibility(
DtElementID elementId,
bool& value)
const;
160 virtual bool getElementIndicatorVisibility(
const DtElementEntry& entry,
bool& value)
const;
165 virtual bool getElementIndicatorVisibility(
DtElementID elementId,
bool& value)
const;
169 virtual bool getElementHeightAboveTerrainLinesEnabled(
const DtElementEntry& entry,
bool& value)
const;
174 virtual bool getElementHeightAboveTerrainLinesEnabled(
DtElementID elementId,
bool& value)
const;
179 virtual bool getElementIndicatorsOnSelect(
const DtElementEntry& entry,
bool& value)
const;
184 virtual bool getElementIndicatorsOnSelect(
DtElementID elementId,
bool& value)
const;
189 virtual bool getElementOverlayName(
const DtElementEntry& entry, std::string& value)
const;
194 virtual bool getElementOverlayName(
DtElementID elementId, std::string& value)
const;
201 virtual bool getElementKindAndCategory(
const DtElementEntry& entry, std::pair<int, int>& value)
const;
206 virtual bool getElementKindAndCategory(
DtElementID elementId, std::pair<int, int>& value)
const;
211 virtual bool getElementLocalScaleEnabled(
const DtElementEntry& entry,
bool& value)
const;
216 virtual bool getElementLocalScaleEnabled(
DtElementID elementId,
bool& value)
const;
221 virtual bool getElementLocalScaleAmount(
const DtElementEntry& entry,
float& value)
const;
226 virtual bool getElementLocalScaleAmount(
DtElementID elementId,
float& value)
const;
244 virtual bool getElementDisplayUnitCollectionName(
const DtElementEntry& entry, std::string& value)
const;
249 virtual bool getElementDisplayUnitCollectionName(
DtElementID elementId, std::string& value)
const;
261 virtual void startNamedElementIteration()
const;
265 virtual bool getNextElementIdAndDisplayName(
DtElementID&
id, std::string& displayName)
const;
269 virtual bool getElementIdFromDisplayName(
const std::string& displayName,
DtElementID& elementId)
const;
296 virtual void addToElementIdDisplayNameMaps(
DtElementID elementId,
const std::string& displayName);
299 virtual void removeFromElementIdDisplayNameMaps(
DtElementID elementId);
303 virtual void reportElementEntryNotFound(
DtElementID elementId)
const;
ElementIdToDisplayNameMap::const_iterator myMutatableDisplayNameIterator
Mutable iterator used on by startNamedElementIteration / getNextElementIdAndDisplayName.
Definition: DtElementAttributeManager.h:322
boost::signalslib::signal< void(const EntryAttributesList &) > signal_attributesChanged
Signal raised when attributes are changed. The EntryAttributesList contains all the attribute additio...
Definition: DtElementAttributeManager.h:274
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
DamageState
Definition: DtEntityStateListener.h:59
DisplayNameToElementIdMap myDisplayNameToElementIdMap
Definition: DtElementAttributeManager.h:312
boost::unordered_map< DtElementID, std::string > ElementIdToDisplayNameMap
Definition: DtElementAttributeManager.h:317
Creator class for the Network IO.
Definition: DtElementAttributeManager.h:327
std::pair< DtElementEntry *, AttributeList > EntryAttributes
Define the type used to signal changes to one or more attributes for one or more elements.
Definition: DtElementAttributeManager.h:44
The element data is all the information about all elements in the scene.
Definition: DtElementData.h:30
std::vector< DtUniqueID > UniqueIdList
Definition: DtElementChanges.h:34
DtElementEntry holds the non-simulation-specific data about an element, including its element type an...
Definition: DtElementEntry.h:22
ElementSubtypes
Definition: DtElementAttributes.h:56
Contains makVrv::DtVirtualBaseClass class.
Contains makVrv:DtEntityStateListener class.
The element attribute manager is used to provide access to element attribute data. It includes maps between the display name attribute and element id to make it easier to find an element by name. However, note that these maps only valid if display names are unique (and that is not the case internally for the VRF GUI). The DtElementData class creates and owns this manager using the.
Definition: DtElementAttributeManager.h:37
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
std::map< DtUniqueID, AttributeList > ElementAttributeMap
Definition: DtElementChanges.h:36
std::vector< EntryAttributes > EntryAttributesList
Define the type used to signal changes to one or more attributes for one or more elements.
Definition: DtElementAttributeManager.h:45
boost::unordered_map< std::string, DtElementID > DisplayNameToElementIdMap
Definition: DtElementAttributeManager.h:311
ElementType
Definition: DtElementEntry.h:26
Contains makVrv::DtElementAttributes class.
DtDe & myDe
Definition: DtElementAttributeManager.h:307
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:70
std::vector< DtElementAttribute * > AttributeList
Define the type used to signal changes to one or more attributes for one or more elements.
Definition: DtElementAttributeManager.h:43
Contains makVrv::DtElementChanges class.
ElementIdToDisplayNameMap myElementIdToDisplayNameMap
Definition: DtElementAttributeManager.h:318
Contains makVrv::DtElementEntry class.