19 #include <boost/unordered_map.hpp>
20 #include <boost/unordered_set.hpp>
26 class DtElementAttribute;
27 class DtElementChanges;
77 virtual bool getElementDisplayName(
DtElementID elementId, std::string& value)
const;
85 virtual bool getElementDisplayName(
const DtElementEntry& entry, std::string& value)
const;
89 virtual bool getElementIdFromDisplayName(
const std::string& displayName,
DtElementID& elementId)
const;
96 virtual bool getElementObjectId(
const DtElementEntry& entry, std::string& value)
const;
101 virtual bool getElementObjectId(
DtElementID elementId, std::string& value)
const;
108 virtual bool getElementObjectType(
const DtElementEntry& entry, std::string& value)
const;
113 virtual bool getElementObjectType(
DtElementID elementId, std::string& value)
const;
144 virtual bool getElementDriverType(
const DtElementEntry& entry, std::string& value)
const;
149 virtual bool getElementDriverType(
DtElementID elementId, std::string& value)
const;
153 virtual bool getElementObjectVisibility(
const DtElementEntry& entry,
bool& value)
const;
158 virtual bool getElementObjectVisibility(
DtElementID elementId,
bool& value)
const;
162 virtual bool getElementIndicatorVisibility(
const DtElementEntry& entry,
bool& value)
const;
167 virtual bool getElementIndicatorVisibility(
DtElementID elementId,
bool& value)
const;
171 virtual bool getElementHeightAboveTerrainLinesEnabled(
const DtElementEntry& entry,
bool& value)
const;
176 virtual bool getElementHeightAboveTerrainLinesEnabled(
DtElementID elementId,
bool& value)
const;
181 virtual bool getElementIndicatorsOnSelect(
const DtElementEntry& entry,
bool& value)
const;
186 virtual bool getElementIndicatorsOnSelect(
DtElementID elementId,
bool& value)
const;
191 virtual bool getElementOverlayName(
const DtElementEntry& entry, std::string& value)
const;
196 virtual bool getElementOverlayName(
DtElementID elementId, std::string& value)
const;
203 virtual bool getElementKindAndCategory(
const DtElementEntry& entry, std::pair<int, int>& value)
const;
208 virtual bool getElementKindAndCategory(
DtElementID elementId, std::pair<int, int>& value)
const;
213 virtual bool getElementLocalScaleEnabled(
const DtElementEntry& entry,
bool& value)
const;
218 virtual bool getElementLocalScaleEnabled(
DtElementID elementId,
bool& value)
const;
223 virtual bool getElementLocalScaleAmount(
const DtElementEntry& entry,
float& value)
const;
228 virtual bool getElementLocalScaleAmount(
DtElementID elementId,
float& value)
const;
246 virtual bool getElementDisplayUnitCollectionName(
const DtElementEntry& entry, std::string& value)
const;
251 virtual bool getElementDisplayUnitCollectionName(
DtElementID elementId, std::string& value)
const;
260 virtual void startNamedElementIteration()
const;
264 virtual bool getNextElementIdAndDisplayName(
DtElementID&
id, std::string& displayName)
const;
291 virtual void addToElementIdDisplayNameMaps(
DtElementID elementId,
const std::string& displayName);
294 virtual void removeFromElementIdDisplayNameMaps(
DtElementID elementId);
298 virtual void reportElementEntryNotFound(
DtElementID elementId)
const;
ElementIdToDisplayNameMap::const_iterator myMutatableDisplayNameIterator
Mutable iterator used on by startNamedElementIteration / getNextElementIdAndDisplayName.
Definition: DtElementAttributeManager.h:317
boost::signalslib::signal< void(const EntryAttributesList &) > signal_attributesChanged
Signal raised when attributes are changed.
Definition: DtElementAttributeManager.h:269
Virtual base class.
Definition: DtVirtualBaseClass.h:19
A unicode string.
Definition: DtUnicode.h:33
DisplayNameToElementIdMap myDisplayNameToElementIdMap
Definition: DtElementAttributeManager.h:307
boost::unordered_map< DtElementID, std::string > ElementIdToDisplayNameMap
Definition: DtElementAttributeManager.h:312
Creator class for the Network IO.
Definition: DtElementAttributeManager.h:322
std::pair< DtElementEntry *, AttributeList > EntryAttributes
Definition: DtElementAttributeManager.h:42
The element data is all the information about all elements in the scene.
Definition: DtElementData.h:29
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:53
Contains makVrv::DtVirtualBaseClass class.
Contains makVrv:DtEntityStateListener class.
The element attribute manager is used to provide access to element attribute data.
Definition: DtElementAttributeManager.h:35
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
std::map< DtUniqueID, AttributeList > ElementAttributeMap
Definition: DtElementChanges.h:36
std::vector< EntryAttributes > EntryAttributesList
Definition: DtElementAttributeManager.h:43
boost::unordered_map< std::string, DtElementID > DisplayNameToElementIdMap
Definition: DtElementAttributeManager.h:306
ElementType
Definition: DtElementEntry.h:26
DamageState
Definition: DtEntityStateListener.h:88
Contains makVrv::DtElementAttributes class.
DtDe & myDe
Definition: DtElementAttributeManager.h:302
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
std::vector< DtElementAttribute * > AttributeList
Define the type used to signal changes to one or more attributes for one or more elements.
Definition: DtElementAttributeManager.h:41
Contains makVrv::DtElementChanges class.
ElementIdToDisplayNameMap myElementIdToDisplayNameMap
Definition: DtElementAttributeManager.h:313
Contains makVrv::DtElementEntry class.