VR-Forces 4.8 Class Documentation
 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) 2019 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  UserStart = 128,
46  //All is not a type, it is a wild card used for searches.
47  All = ~0
48  };
49 
50  typedef unsigned int ObjectType;
51  typedef std::map<short, DtElementAttribute*> AttributeMap;
52 
54  DtElementEntry(DtElementID id, DtUniqueID parentId, ObjectType type);
55 
57  ~DtElementEntry();
58 
60  DtElementID elementID() const;
61 
63  DtElementID parentID() const;
64 
66  ObjectType type() const;
67 
69  const DtElementAttribute* findAttribute(short attributeId) const;
70 
71  AttributeMap& attributes();
72 
73  const AttributeMap& attributes() const;
74 
75  private:
79 
83 
86  DtElementEntry& operator=( const DtElementEntry& );
87 
88  protected:
93  };
94 }
95 
AttributeMap myAttributes
Definition: DtElementEntry.h:92
Contains makVrv::DtElementAttribute class.
Definition: vrfObjectManipulationHandlerBaseClass.h:58
Definition: objectSettingsManager.h:49
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
unsigned int ObjectType
Definition: DtElementEntry.h:50
DtElementID myParentId
Definition: DtElementEntry.h:90
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
ElementType
Definition: DtElementEntry.h:26
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
ObjectType myType
Definition: DtElementEntry.h:91
Contains makVrv::DtUniqueID type.
Definition: vrfObjectManipulationHandlerBaseClass.h:57
std::map< short, DtElementAttribute * > AttributeMap
Definition: DtElementEntry.h:51
DtElementAttribute is a common base class used for all element attributes, such as those found in a D...
Definition: DtElementAttribute.h:23
DtElementID myId
Definition: DtElementEntry.h:89

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)