17 #include <boost/unordered_map.hpp>
18 #include <boost/unordered_set.hpp>
19 #include <boost/signals.hpp>
24 class DtElementAttribute;
25 class DtElementChanges;
75 virtual bool getElementDisplayName(
DtElementID elementId, std::string& value)
const;
83 virtual bool getElementDisplayName(
const DtElementEntry& entry, std::string& value)
const;
87 virtual bool getElementIdFromDisplayName(
const std::string& displayName,
DtElementID& elementId)
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;
233 virtual bool getElementDamageState(
const DtElementEntry& entry,
int& value)
const;
238 virtual bool getElementDamageState(
DtElementID elementId,
int& value)
const;
247 virtual void startNamedElementIteration()
const;
251 virtual bool getNextElementIdAndDisplayName(
DtElementID&
id, std::string& displayName)
const;
278 virtual void addToElementIdDisplayNameMaps(
DtElementID elementId,
const std::string& displayName);
281 virtual void removeFromElementIdDisplayNameMaps(
DtElementID elementId);
285 virtual void reportElementEntryNotFound(
DtElementID elementId)
const;
ElementIdToDisplayNameMap::const_iterator myMutatableDisplayNameIterator
Mutable iterator used on by startNamedElementIteration / getNextElementIdAndDisplayName.
Definition: DtElementAttributeManager.h:304
Virtual base class.
Definition: DtVirtualBaseClass.h:22
A unicode string.
Definition: DtUnicode.h:33
DisplayNameToElementIdMap myDisplayNameToElementIdMap
Definition: DtElementAttributeManager.h:294
boost::unordered_map< DtElementID, std::string > ElementIdToDisplayNameMap
Definition: DtElementAttributeManager.h:299
Creator class for the Network IO.
Definition: DtElementAttributeManager.h:309
std::pair< DtElementEntry *, AttributeList > EntryAttributes
Definition: DtElementAttributeManager.h:40
The element data is all the information about all elements in the scene.
Definition: DtElementData.h:29
std::vector< DtUniqueID > UniqueIdList
Definition: DtElementChanges.h:37
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:26
ElementSubtypes
Definition: DtElementAttributes.h:50
Contains makVrv::DtVirtualBaseClass class.
The element attribute manager is used to provide access to element attribute data.
Definition: DtElementAttributeManager.h:33
boost::signal< void(const EntryAttributesList &) > signal_attributesChanged
Signal raised when attributes are changed.
Definition: DtElementAttributeManager.h:256
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
std::map< DtUniqueID, AttributeList > ElementAttributeMap
Definition: DtElementChanges.h:39
std::vector< EntryAttributes > EntryAttributesList
Definition: DtElementAttributeManager.h:41
boost::unordered_map< std::string, DtElementID > DisplayNameToElementIdMap
Definition: DtElementAttributeManager.h:293
ElementType
Definition: DtElementEntry.h:26
Contains makVrv::DtElementAttributes class.
DtDe & myDe
Definition: DtElementAttributeManager.h:289
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:39
Contains makVrv::DtElementChanges class.
ElementIdToDisplayNameMap myElementIdToDisplayNameMap
Definition: DtElementAttributeManager.h:300
Contains makVrv::DtElementEntry class.