VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtElementEntry.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
13 #include <vrvCore/DtUniqueID.h>
14 
15 #include <map>
16 
17 namespace makVrv
18 {
23  {
24  public:
25 
27  {
28  Unknown = 0,
29  Entity = 1,
30  Prop = 2,
31  TerrainPatch = 3,
32  Aggregate = 4,
33  Observer = 5,
34  Environmental= 6,
35  GraphicPoint = 7,
36  GraphicShape = 8,
37  GraphicVertex= 9, // These are the component vertices of GraphicShapes
38  RemoteGraphic = 10,
39  TacticalGraphic= 11, // deprecated; all tactical graphics are either GraphicShape or GraphicPoint
40  Intervisibility=12,
41  Feature=13,
42  TacticalSmoke=14,
43  BuoyOrBeacon=15,
44  DynamicTerrain=16,
45  LaserDesignator=17,
46  RadioCommunication=18,
47  RadioTransmission=19,
48  RunwaySelector=20,
49  UserStart = 128,
50  //All is not a type, it is a wild card used for searches.
51  All = ~0
52  };
53 
54  typedef unsigned int ObjectType;
55  typedef std::map<short, DtElementAttribute*> AttributeMap;
56 
58  DtElementEntry(DtElementID id, DtUniqueID parentId, ObjectType type);
59 
61  ~DtElementEntry();
62 
64  DtElementID elementID() const;
65 
67  DtElementID parentID() const;
68 
70  ObjectType type() const;
71 
73  const DtElementAttribute* findAttribute(short attributeId) const;
74 
75  AttributeMap& attributes();
76 
77  const AttributeMap& attributes() const;
78 
79  public:
82  DtElementEntry() = delete;
83 
86  DtElementEntry( const DtElementEntry& ) = delete;
87 
90  DtElementEntry& operator=( const DtElementEntry& ) = delete;
91 
94  DtElementEntry( const DtElementEntry&& ) = delete;
95 
98  DtElementEntry& operator=( const DtElementEntry&& ) = delete;
99  protected:
104  };
105 }
106 
AttributeMap myAttributes
Definition: DtElementEntry.h:103
Contains makVrv::DtElementAttribute class.
Definition: vrfObjectManipulationHandlerBaseClass.h:57
Definition: objectSettingsManager.h:50
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
unsigned int ObjectType
Definition: DtElementEntry.h:54
DtElementID myParentId
Definition: DtElementEntry.h:101
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
ElementType
Definition: DtElementEntry.h:26
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
ObjectType myType
Definition: DtElementEntry.h:102
Contains makVrv::DtUniqueID type.
Definition: vrfObjectManipulationHandlerBaseClass.h:56
std::map< short, DtElementAttribute * > AttributeMap
Definition: DtElementEntry.h:55
DtElementAttribute is a common base class used for all element attributes, such as those found in a D...
Definition: DtElementAttribute.h:20
DtElementID myId
Definition: DtElementEntry.h:100

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)