KDIS  2-8-x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
KSymbolicNames.h
Go to the documentation of this file.
1 /*********************************************************************
2 Copyright 2013 Karl Jones
3 All rights reserved.
4 
5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions are met:
7 
8 1. Redistributions of source code must retain the above copyright notice, this
9  list of conditions and the following disclaimer.
10 2. Redistributions in binary form must reproduce the above copyright notice,
11  this list of conditions and the following disclaimer in the documentation
12  and/or other materials provided with the distribution.
13 
14 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
15 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
18 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
20 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
21 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
23 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 
25 For Further Information Please Contact me at
26 Karljj1@yahoo.com
27 http://p.sf.net/kdis/UserGuide
28 *********************************************************************/
29 
30 /********************************************************************
31  KSymbolicNames
32  created: 20/9/2008
33  updated: 14/12/2012
34  author: Karl Jones
35 
36  purpose: DIS Symbolic names used to represent DIS numeric values
37 *********************************************************************/
38 
39 #define AGG_RESPONSE 10 // s
40 #define ALL_AGGREGATES 0xffff
41 #define ALL_APPLIC 0xffff
42 #define ALL_BEAMS 0xffff
43 #define ALL_EMITTERS 0xffff
44 #define ALL_ENTITIES 0xffff
45 #define ALL_OBJECTS 0xffff
46 #define ALL_SITES 0xffff
47 #define COLLISION_ELASTIC_TIMEOUT 5 // s
48 #define COLLISION_THRSH 0.1f // m/s
49 #define DE_ENERGY_THRSH 0.01f
50 #define DE_PRECISION_AIMING_THRSH 0.5f // m
51 #define DRA_ORIENT_THRSH_DFLT 3 // degs
52 #define DRA_POS_THRSH_DFLT 1 // m
53 #define D_SPOT_NO_ENTITY NO_SITE , NO_APPLIC , NO_ENTITY
54 #define EE_AD_PULRAT_THRSH 0.017f // rads/s
55 #define EE_AD_PULACC_THRSH 0.017f // rads/s^2
56 #define EE_AZ_THRSH 1 // degs
57 #define EE_EL_THRSH 1 // degs
58 #define EE_ERP_THRSH 1 // dB
59 #define EE_FREQ_THRSH 1 // Hz
60 #define EE_FRNG_THRSH 1 // Hz
61 #define EE_FT_VEL_THRSH 1 // m/s
62 #define EE_FT_ACC_THRSH 1 // m/s^2
63 #define EE_FT_MWD_THRSH 10000 // m
64 #define EE_FT_KT_THRSH 10 // s
65 #define EE_FT_ESP_THRSH 10 // m
66 #define EE_HIGH_DENSITY_THRSH 10 // entities/beam
67 #define EE_PRF_THRSH 1 // Hz
68 #define EE_PW_THRSH 1 // �s
69 #define ENTITY_ID_UNKNOWN NO_SITE , NO_APPLIC , NO_ENTITY
70 #define EP_DIMENSION_THRSH 1 // m
71 #define EP_NO_SEQUENCE 0xffff
72 #define EP_POS_THRSH 1 // m
73 #define EP_STATE_THRSH 10 // �%
74 #define GD_GEOMETRY_CHANGE 10 // �%
75 #define GD_STATE_CHANGE 10 // �%
76 #define HBT_ESPDU_KIND_CULTURAL_FEATURE 1 // min Tolerance: �10%
77 #define HBT_ESPDU_KIND_ENVIRONMENTAL 1 // min Tolerance: �10%
78 #define HBT_ESPDU_KIND_EXPENDABLE 5 // s Tolerance: �10%
79 #define HBT_ESPDU_KIND_LIFE_FORM 1 // min Tolerance: �10%
80 #define HBT_ESPDU_KIND_MUNITION 5 // s Tolerance: �10%
81 #define HBT_ESPDU_KIND_RADIO 5 // s Tolerance: �10%
82 #define HBT_ESPDU_KIND_SENSOR_EMITTER 5 // s Tolerance: �10%
83 #define HBT_ESPDU_KIND_SUPPLY 5 // s Tolerance: �10%
84 #define HBT_ESPDU_PLATFORM_AIR 5 // s Tolerance: �10%
85 #define HBT_ESPDU_PLATFORM_LAND 55 // s Tolerance: �10%
86 #define HBT_ESPDU_PLATFORM_SPACE 5 // s Tolerance: �10%
87 #define HBT_ESPDU_PLATFORM_SUBSURFACE 55 // s Tolerance: �10%
88 #define HBT_ESPDU_PLATFORM_SURFACE 55 // s Tolerance: �10%
89 #define HBT_PDU_AGGREGATE_STATE 30 // s Tolerance: �10%
90 #define HBT_PDU_APPEARANCE 60 // s Tolerance: �10%
91 #define HBT_PDU_DE_FIRE 0.5f // s Tolerance: �10%
92 #define HBT_PDU_DESIGNATOR 5 // s Tolerance: �10%
93 #define HBT_PDU_EE 10 // s Tolerance: �10%
94 #define HBT_PDU_ENTITY_DAMAGE 10 // s Tolerance: �10%
95 #define HBT_PDU_ENVIRONMENTAL_PROCESS 15 // s Tolerance: �10%
96 #define HBT_PDU_GRIDDED_DATA 15 // min Tolerance: �10%
97 #define HBT_PDU_IFF 10 // s Tolerance: �10%
98 #define HBT_PDU_ISGROUPOF 1 // min Tolerance: �10%
99 #define HBT_PDU_MINEFIELD_DATA 5 // s Tolerance: �10%
100 #define HBT_PDU_MINEFIELD_STATE 5 // s Tolerance: �10%
101 #define HBT_PDU_RECEIVER 1 // min Tolerance: �10%
102 #define HBT_PDU_SEES 3 // min Tolerance: �10%
103 #define HBT_PDU_TRANSMITTER 2 // s Tolerance: �10%
104 #define HBT_PDU_TSPI 30 // s Tolerance: �10%
105 #define HBT_PDU_UA 3 // min Tolerance: �10%
106 #define HBT_STATIONARY 1 // min Tolerance: �10%
107 #define HBT_TIMEOUT_MPLIER 2.4f // NOTE - The entity timeout parameter is based on taking the specific entity heartbeat parameter and multiplying it by the HBT_TIMEOUT_MPLIER.
108 #define HQ_TOD_DIFF_THRSH 20 // ms
109 #define IFF_CHG_LATENCY 2 // s
110 #define IFF_AZ_THRSH 3 // deg
111 #define IFF_EL_THRSH 3 // deg
112 #define IFF_PDU_FINAL 10 // s
113 #define IFF_PDU_RESUME 10 // s
114 #define MAX_PDU_SIZE_BITS 65536
115 #define MAX_PDU_SIZE_OCTETS 8192
116 #define MINEFIELD_CHANGE 2.5f // s
117 #define MINEFIELD_RESPONSE_TIMER 1 // s Tolerance: �10%
118 #define MULTIPLES_PRESENT 0
119 #define NO_AGG 0
120 #define NO_APPLIC 0
121 #define NO_BEAM 0
122 #define NO_CATEGORY 0
123 #define NO_EMITTER 0
124 #define NO_ENTITY 0
125 #define NO_ENTITY_IMPACTED NO_SITE , NO_APPLIC , NO_ENTITY
126 #define NO_FIRE_MISSION 0
127 #define NO_KIND 0
128 #define NO_LOCATION NO_SITE , NO_APPLIC , NO_ENTITY
129 #define NO_OBJECT 0
130 #define NO_PATTERN 0
131 #define NO_REF_NUMBER 0
132 #define NO_SITE 0
133 #define NO_SPECIFIC 0
134 #define NO_SPECIFIC_ENTITY NO_SITE , NO_APPLIC , NO_ENTITY
135 #define NO_SUBCAT 0
136 #define NO_VALUE 0
137 #define NON_SYNC_THRSH 1 // min
138 #define REPAR_REC_T1_DFLT 5 // s
139 #define REPAR_SUP_T1_DFLT 12 // s
140 #define REPAR_SUP_T2_DFLT 12 // s
141 #define RESUP_REC_T1_DFLT 5 // s
142 #define RESUP_REC_T2_DFLT 55 // s
143 #define RESUP_SUP_T1_DFLT 1 // min
144 #define RQST_ASSIGN_ID 0xffff
145 #define SEES_NDA_THRSH 2 // �� in the axis of deflection
146 #define SEES_PS_THRSH 10 // �% of the maximum value of the Power
147 #define SEES_RPM_THRSH 5 // �% of the maximum speed in RPM
148 #define SMALLEST_MTU_OCTETS 1400 // Octets for Internet Protocol Version 4 networks
149 #define SM_REL_RETRY_CNT 3
150 #define SM_REL_RETRY_DELAY 2 // s
151 #define TARGET_ID_UNKNOWN NO_SITE , NO_APPLIC , NO_ENTITY
152 #define TIMESTAMP_AHEAD 5 // s
153 #define TIMESTAMP_BEHIND 5 // s
154 #define TI_TIMER1 2 // s
155 #define TI_TIMER2 12 // s
156 #define TO_AUTO_RESPONSE_TIMER 5 // s
157 #define TO_MAN_RESPONSE_TIMER 120 // s
158 #define TR_TIMER1 5 // s
159 #define TR_TIMER2 60 // s
160 #define TRANS_ORIENT_THRSH_DFLT 180 // deg
161 #define TRANS_POS_THRSH_DFLT 500 // m
162 #define UA_ORIENT_THRSH 2 // deg
163 #define UA_POS_THRSH 10 // m
164 #define UA_SRPM_ROC_THRSH 10 // �% of maximum rate of change
165 #define UA_SRPM_THRSH 5 // �% of maximum shaft rate in RPM
166 #define UNTIL_FURTHER_NOTICE 65535
167 #define MUNITION_NOT_TRACKED NO_SITE , NO_APPLIC , NO_ENTITY
168 #define TARGET_IN_TJ_FIELD_DFLT 10
169 
170 // Deprecated Symbolic Values
171 #define HRT_BEAT_MOVE_TIMER 2
172 #define HRT_BEAT_MPLIER 2.4f
173 #define HRT_BEAT_TIMER 5