18 #include <unordered_set>
19 #include <unordered_map>
25 class DtElementAttribute;
26 class DtElementChanges;
78 virtual bool getElementDisplayName(
DtElementID elementId, std::string& value)
const;
86 virtual bool getElementDisplayName(
const DtElementEntry& entry, std::string& value)
const;
93 virtual bool getElementObjectId(
const DtElementEntry& entry, std::string& value)
const;
98 virtual bool getElementObjectId(
DtElementID elementId, std::string& value)
const;
105 virtual bool getElementObjectType(
const DtElementEntry& entry, std::string& value)
const;
110 virtual bool getElementObjectType(
DtElementID elementId, std::string& value)
const;
141 virtual bool getElementDriverType(
const DtElementEntry& entry, std::string& value)
const;
146 virtual bool getElementDriverType(
DtElementID elementId, std::string& value)
const;
150 virtual bool getElementObjectVisibility(
const DtElementEntry& entry,
bool& value)
const;
155 virtual bool getElementObjectVisibility(
DtElementID elementId,
bool& value)
const;
159 virtual bool getElementIndicatorVisibility(
const DtElementEntry& entry,
bool& value)
const;
164 virtual bool getElementIndicatorVisibility(
DtElementID elementId,
bool& value)
const;
168 virtual bool getElementHeightAboveTerrainLinesEnabled(
const DtElementEntry& entry,
bool& value)
const;
173 virtual bool getElementHeightAboveTerrainLinesEnabled(
DtElementID elementId,
bool& value)
const;
178 virtual bool getElementIndicatorsOnSelect(
const DtElementEntry& entry,
bool& value)
const;
183 virtual bool getElementIndicatorsOnSelect(
DtElementID elementId,
bool& value)
const;
188 virtual bool getElementOverlayName(
const DtElementEntry& entry, std::string& value)
const;
193 virtual bool getElementOverlayName(
DtElementID elementId, std::string& value)
const;
200 virtual bool getElementKindAndCategory(
const DtElementEntry& entry, std::pair<int, int>& value)
const;
205 virtual bool getElementKindAndCategory(
DtElementID elementId, std::pair<int, int>& value)
const;
210 virtual bool getElementLocalScaleEnabled(
const DtElementEntry& entry,
bool& value)
const;
215 virtual bool getElementLocalScaleEnabled(
DtElementID elementId,
bool& value)
const;
220 virtual bool getElementLocalScaleAmount(
const DtElementEntry& entry,
float& value)
const;
225 virtual bool getElementLocalScaleAmount(
DtElementID elementId,
float& value)
const;
243 virtual bool getElementDisplayUnitCollectionName(
const DtElementEntry& entry, std::string& value)
const;
248 virtual bool getElementDisplayUnitCollectionName(
DtElementID elementId, std::string& value)
const;
252 virtual bool getElementLightPointGroupCollectionName(
const DtElementEntry& entry, std::string& value)
const;
257 virtual bool getElementLightPointGroupCollectionName(
DtElementID elementId, std::string& value)
const;
269 virtual void startNamedElementIteration()
const;
273 virtual bool getNextElementIdAndDisplayName(
DtElementID&
id, std::string& displayName)
const;
277 virtual bool getElementIdFromDisplayName(
const std::string& displayName,
DtElementID& elementId)
const;
304 virtual void addToElementIdDisplayNameMaps(
DtElementID elementId,
const std::string& displayName);
307 virtual void removeFromElementIdDisplayNameMaps(
DtElementID elementId);
311 virtual void reportElementEntryNotFound(
DtElementID elementId)
const;
ElementIdToDisplayNameMap::const_iterator myMutatableDisplayNameIterator
Mutable iterator used on by startNamedElementIteration / getNextElementIdAndDisplayName.
Definition: DtElementAttributeManager.h:330
boost::signalslib::signal< void(const EntryAttributesList &) > signal_attributesChanged
Signal raised when attributes are changed. The EntryAttributesList contains all the attribute additio...
Definition: DtElementAttributeManager.h:282
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
std::unordered_map< std::string, DtElementID > DisplayNameToElementIdMap
Definition: DtElementAttributeManager.h:319
DamageState
Definition: DtEntityStateListener.h:64
DisplayNameToElementIdMap myDisplayNameToElementIdMap
Definition: DtElementAttributeManager.h:320
Creator class for the Network IO.
Definition: DtElementAttributeManager.h:335
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:43
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
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:23
ElementSubtypes
Definition: DtElementAttributes.h:57
Contains makVrv::DtVirtualBaseClass 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:36
#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:44
ElementType
Definition: DtElementEntry.h:26
std::unordered_map< DtElementID, std::string > ElementIdToDisplayNameMap
Definition: DtElementAttributeManager.h:325
Contains makVrv::DtElementAttributes class.
DtDe & myDe
Definition: DtElementAttributeManager.h:315
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:76
std::vector< DtElementAttribute * > AttributeList
Define the type used to signal changes to one or more attributes for one or more elements.
Definition: DtElementAttributeManager.h:42
Contains makVrv::DtElementChanges class.
ElementIdToDisplayNameMap myElementIdToDisplayNameMap
Definition: DtElementAttributeManager.h:326
Contains makVrv::DtElementEntry class.