VR-Forces 4.1.1 Class Documentation
objTypeEnums.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1999 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: objTypeEnums.h,v $ $Revision: 1.12 $ $State: Exp $
7 *********************************************************************/
8 
9 #ifndef DtObjectTypeEnumerations_H_
10 #define DtObjectTypeEnumerations_H_
11 
12 // DtObjectTypeEnumerations:
13 //
14 // This header file contains the extensions to the RPR/DIS enumeration,
15 // and are used to specify entity types. It contains enumerations to be
16 // used to specify individual, aggregate, and non-entity object types.
17 
18 #include <vlpi/EntityTypes.h>
19 
20 // The sim object super type an enumeration used in the DtObjectType
21 // class (an extension of the DtEntityType class). It extends the DIS/RPR
22 // entity type enumeration by specifying the sort of object associated with
23 // the DtEntityType. Because entity types are not guaranteed to be unqiue
24 // across all of the possible individual and aggregate types, the extra
25 // enumerated field provides a way to uniquely identify all objects
26 // in a VR-Forces simulation.
27 
29 {
36 };
37 
38 // This is a deviation from the document "Enumerations and Bit-Encoded Values
39 // for Use with Protocols for Distributed Interactive Simulation", IST-CF-99-01.
40 // The enumeration for DtAggregateKind should start with 0, but I am starting with
41 // 10, to ensure that entity types will be unique.
42 // enum DtAggregateKind
43 // {
44 // DtAggregateKindOther = 0,
45 // DtAggregateKindMilitaryHierarchy = 1,
46 // DtAggregateKindCommonType = 2,
47 // DtAggregateKindCommonMission = 3,
48 // DtAggregateKindSimilarCapabilities = 4,
49 // DtAggregateKindCommonLocation = 5
50 //};
51 const DtEntityKind DtAggregateKindOther = DtEntityKind(10);
52 const DtEntityKind DtAggregateKindMilitaryHierarchy = DtEntityKind(11);
53 const DtEntityKind DtAggregateKindCommonType = DtEntityKind(12);
54 const DtEntityKind DtAggregateKindCommonMission = DtEntityKind(13);
55 const DtEntityKind DtAggregateKindSimilarCapabilities = DtEntityKind(14);
56 const DtEntityKind DtAggregateKindCommonLocation = DtEntityKind(15);
57 const DtEntityKind DtSimArtPartKind = DtEntityKind(20);
58 
59 // Extension of entity kind to represent non-entity objects, such as
60 // control objects (control points, routes, phase lines, obstacles, etc.)
61 const DtEntityKind DtPointObjectKind = DtEntityKind(16);
62 const DtEntityKind DtLinearObjectKind = DtEntityKind(17);
63 const DtEntityKind DtArealObjectKind = DtEntityKind(18);
64 const DtEntityKind DtCircleObjectKind = DtEntityKind(19);
65 const DtEntityKind DtTextObjectKind = DtEntityKind(20);
66 const DtEntityKind DtWeatherObjectKind = DtEntityKind(21);
67 
68 // Extension of entity kind to represent remote graphic objects.
69 const DtEntityKind Dt2DGraphicalObjectKind = DtEntityKind(22);
70 const DtEntityKind Dt3DGraphicalObjectKind = DtEntityKind(23);
71 
72 // The Domain and Country field enumerations are the same as used for Entity Type.
73 
74 // The Category field enumerations for Kind-field = Military Hierarchy specify
75 // the Echelon Level of the aggregate, and are enumerated as follows:
76 // Kind Domain Country Cat Scat Specific
77 // 1 1 225
78 // KRO - I have extended the enumeration to include DtAggregateCategoryForce,
79 // which represents the force level (i.e. friendly, opposing, neutral).
80 // All of the entries after (and including DtAggregateCategoryForce) are
81 // extensions to the standard.
82 
84 {
100 };
101 
102 // The Subcategory field enumerations for Kind field = Military Hierarchy
103 // specify the Echelon Type of the aggregate, and are enumerated as follows.
104 // Not all of the following echelon types are applicable to each of the above
105 // enumerated Categories.
106 
107 // Kind Domain Country Cat Scat Specific
108 // 1 1 225
109 // KRO - I have extended the enumeration to include entries for
110 // DtAggregateCategoryForce, consisting of DtAggregateSubcategoryForceFriendly,
111 // DtAggregateSubcategoryForceOpposing, DtAggregateSubcategoryForceNeutral,
112 // and DtAggregateSubcategoryForceOther.
114 {
147 };
148 
149 // The Specific field enumerations for Kind field = Military Hierarchy specify
150 // whether the aggregate unit contains a headquarters, and is enumerated as
151 // follows.
152 
153 // Kind Domain Country Cat Scat Specific
154 // 1 1 225
155 
157 {
160 };
161 
162 // Extended specific type for Dismounted Infantry aggregates.
164 {
166 };
167 
168 // Subcategories for use with the Kind field = DtPointObjectKind
170 {
175 };
176 
177 // Subcategories for use with the Kind field = DtLinearObjectKind
179 {
183 };
184 
185 // Subcategories for use with the Kind field = DtArealObjectKind
187 {
192 };
193 
194 //Kinds for Supertype interaction
196 {
200 };
201 
203 {
209 };
210 
212 {
215 };
216 
217 // More categories are added for the Remote Graphics API
219 {
226 };
227 
228 
230 {
241 };
242 
244 {
250 };
251 
252 #endif

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)