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;
128 virtual bool getElementObjectSidc(
const DtElementEntry& entry, std::string& value )
const;
133 virtual bool getElementObjectSidc(
DtElementID elementId, std::string& value )
const;
136 virtual bool getElementObjectGlobalID(
const DtElementEntry& entry, std::string& value )
const;
141 virtual bool getElementObjectGlobalID(
DtElementID elementId, std::string& value )
const;
157 virtual bool getElementDriverType(
const DtElementEntry& entry, std::string& value)
const;
162 virtual bool getElementDriverType(
DtElementID elementId, std::string& value)
const;
166 virtual bool getElementObjectVisibility(
const DtElementEntry& entry,
bool& value)
const;
171 virtual bool getElementObjectVisibility(
DtElementID elementId,
bool& value)
const;
175 virtual bool getElementIndicatorVisibility(
const DtElementEntry& entry,
bool& value)
const;
180 virtual bool getElementIndicatorVisibility(
DtElementID elementId,
bool& value)
const;
184 virtual bool getElementHeightAboveTerrainLinesEnabled(
const DtElementEntry& entry,
bool& value)
const;
189 virtual bool getElementHeightAboveTerrainLinesEnabled(
DtElementID elementId,
bool& value)
const;
194 virtual bool getElementIndicatorsOnSelect(
const DtElementEntry& entry,
bool& value)
const;
199 virtual bool getElementIndicatorsOnSelect(
DtElementID elementId,
bool& value)
const;
204 virtual bool getElementOverlayName(
const DtElementEntry& entry, std::string& value)
const;
209 virtual bool getElementOverlayName(
DtElementID elementId, std::string& value)
const;
216 virtual bool getElementKindAndCategory(
const DtElementEntry& entry, std::pair<int, int>& value)
const;
221 virtual bool getElementKindAndCategory(
DtElementID elementId, std::pair<int, int>& value)
const;
226 virtual bool getElementLocalScaleEnabled(
const DtElementEntry& entry,
bool& value)
const;
231 virtual bool getElementLocalScaleEnabled(
DtElementID elementId,
bool& value)
const;
236 virtual bool getElementLocalScaleAmount(
const DtElementEntry& entry,
float& value)
const;
241 virtual bool getElementLocalScaleAmount(
DtElementID elementId,
float& value)
const;
259 virtual bool getElementDisplayUnitCollectionName(
const DtElementEntry& entry, std::string& value)
const;
264 virtual bool getElementDisplayUnitCollectionName(
DtElementID elementId, std::string& value)
const;
268 virtual bool getElementLightPointGroupCollectionName(
const DtElementEntry& entry, std::string& value)
const;
273 virtual bool getElementLightPointGroupCollectionName(
DtElementID elementId, std::string& value)
const;
285 virtual void startNamedElementIteration()
const;
289 virtual bool getNextElementIdAndDisplayName(
DtElementID&
id, std::string& displayName)
const;
293 virtual bool getElementIdFromDisplayName(
const std::string& displayName,
DtElementID& elementId)
const;
320 virtual void addToElementIdDisplayNameMaps(
DtElementID elementId,
const std::string& displayName);
323 virtual void removeFromElementIdDisplayNameMaps(
DtElementID elementId);
327 virtual void reportElementEntryNotFound(
DtElementID elementId)
const;
ElementIdToDisplayNameMap::const_iterator myMutatableDisplayNameIterator
Mutable iterator used on by startNamedElementIteration / getNextElementIdAndDisplayName.
Definition: DtElementAttributeManager.h:346
boost::signalslib::signal< void(const EntryAttributesList &) > signal_attributesChanged
Signal raised when attributes are changed. The EntryAttributesList contains all the attribute additio...
Definition: DtElementAttributeManager.h:298
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:335
DamageState
Definition: DtEntityStateListener.h:65
DisplayNameToElementIdMap myDisplayNameToElementIdMap
Definition: DtElementAttributeManager.h:336
Creator class for the Network IO.
Definition: DtElementAttributeManager.h:351
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:59
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:341
Contains makVrv::DtElementAttributes class.
DtDe & myDe
Definition: DtElementAttributeManager.h:331
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:342
Contains makVrv::DtElementEntry class.