10 #ifndef DtModelSemanticsMapper_H_
11 #define DtModelSemanticsMapper_H_
22 class DtBaseConnection;
52 power_plant_status = 10,
60 blackout_brake_lights = 18,
65 navigation_lights = 23,
66 anticollision_lights = 24,
67 formation_lights = 25,
80 internal_heat_status = 38,
92 label_char_count = 56,
100 lower_anti_collision_lights = 61,
101 upper_anti_collision_lights = 62,
102 anti_collision_lights_day_night = 63,
104 landing_gear_extended = 65,
105 cargo_doors_opened = 66,
106 navigation_position_brightness = 67,
107 reverse_thrust_engaged = 68,
108 weight_on_wheels = 69,
109 occupants_surrendered = 70,
117 concealed_movement = 78,
118 flare_smoke_status = 79,
119 spot_chaff_status = 80,
120 supply_deployed_status = 81,
121 left_indicator_light = 82,
122 right_indicator_light = 83,
123 emergency_lights = 84,
126 warning_safety_lights = 87,
127 distress_beacons_strobes = 88,
128 upper_deck_flood_lights = 89,
129 upper_deck_lights = 90,
131 not_under_command_lights = 92,
133 fishing_with_lines_lights = 94,
134 fishing_with_nets_lights = 95,
135 mine_hunting_lights = 96,
152 right_aileron = 1152,
153 helicopter_main_rotor = 1184,
154 helicopter_tail_rotor = 1216,
155 other_aircraft_control_surfaces_defined_as_needed = 1248,
156 propeller_number_1 = 1280,
157 propeller_number_2 = 1312,
158 propeller_number_3 = 1344,
159 propeller_number_4 = 1376,
160 left_stabilator_stabilator_number_1 = 1408,
161 right_stabilator_stabilator_number_2 = 1440,
162 left_ruddervator_ruddervator_number_1 = 1472,
163 right_ruddervator_ruddervator_number_2 = 1504,
164 left_leading_edge_flap_slat = 1536,
165 right_leading_edge_flap_slat = 1568,
166 left_elevator = 1600,
167 right_elevator = 1632,
170 elevon_inner_left = 1728,
171 elevon_inner_right = 1760,
172 elevon_middle_left = 1792,
173 elevon_middle_right = 1824,
174 elevon_outer_left = 1856,
175 elevon_outer_right = 1888,
176 canopy_aircraft = 1920,
178 generic_antenna = 2080,
180 other_extendible_parts_defined_as_needed = 2144,
181 dive_plane_sail_left = 2176,
182 dive_plane_sail_right = 2208,
183 dive_plane_bow_left = 2240,
184 dive_plane_bow_right = 2272,
185 dive_plane_stern_left = 2304,
186 dive_plane_stern_right = 2336,
190 left_weapon_bay_door = 3168,
191 right_weapon_bay_doors = 3200,
192 tank_or_apc_hatch = 3232,
194 bridge_launcher = 3296,
195 bridge_section_1 = 3328,
196 bridge_section_2 = 3360,
197 bridge_section_3 = 3392,
198 primary_blade_1 = 3424,
199 primary_blade_2 = 3456,
201 primary_launcher_arm = 3520,
202 Landing_Gear_Nose = 3584,
203 Landing_Gear_Left_Main = 3616,
204 Landing_Gear_Right_Main = 3648,
205 Doors_of_Left_Side_Weapon_Bay = 3680,
206 Doors_of_Right_Side_Weapon_Bay = 3712,
207 Spot_Search_Light_1 = 3744,
208 Spot_Search_Light_2 = 3776,
209 Spot_Search_Light_3 = 3808,
210 Spot_Search_Light_4 = 3840,
211 Landing_Light = 3872,
212 other_fixed_position_parts_defined_as_needed = 3552,
213 primary_turret_number_1 = 4096,
214 primary_turret_number_2 = 4128,
215 primary_turret_number_3 = 4160,
216 primary_turret_number_4 = 4192,
217 primary_turret_number_5 = 4224,
218 primary_turret_number_6 = 4256,
219 primary_turret_number_7 = 4288,
220 primary_turret_number_8 = 4320,
221 primary_turret_number_9 = 4352,
222 primary_turret_number_10 = 4384,
223 primary_gun_number_1 = 4416,
224 primary_gun_number_2 = 4448,
225 primary_gun_number_3 = 4480,
226 primary_gun_number_4 = 4512,
227 primary_gun_number_5 = 4544,
228 primary_gun_number_6 = 4576,
229 primary_gun_number_7 = 4608,
230 primary_gun_number_8 = 4640,
231 primary_gun_number_9 = 4672,
232 primary_gun_number_10 = 4704,
233 primary_launcher_1 = 4736,
234 primary_launcher_2 = 4768,
235 primary_launcher_3 = 4800,
236 primary_launcher_4 = 4832,
237 primary_launcher_5 = 4864,
238 primary_launcher_6 = 4896,
239 primary_launcher_7 = 4928,
240 primary_launcher_8 = 4960,
241 primary_launcher_9 = 4992,
242 primary_launcher_10 = 5024,
243 primary_defense_systems_1 = 5056,
244 primary_defense_systems_2 = 5088,
245 primary_defense_systems_3 = 5120,
246 primary_defense_systems_4 = 5152,
247 primary_defense_systems_5 = 5184,
248 primary_defense_systems_6 = 5216,
249 primary_defense_systems_7 = 5248,
250 primary_defense_systems_8 = 5280,
251 primary_defense_systems_9 = 5312,
252 primary_defense_systems_10 = 5344,
253 primary_radar_1 = 5376,
254 primary_radar_2 = 5408,
255 primary_radar_3 = 5440,
256 primary_radar_4 = 5472,
257 primary_radar_5 = 5504,
258 primary_radar_6 = 5536,
259 primary_radar_7 = 5568,
260 primary_radar_8 = 5600,
261 primary_radar_9 = 5632,
262 primary_radar_10 = 5664,
263 secondary_turret_number_1 = 5696,
264 secondary_turret_number_2 = 5728,
265 secondary_turret_number_3 = 5760,
266 secondary_turret_number_4 = 5792,
267 secondary_turret_number_5 = 5824,
268 secondary_turret_number_6 = 5856,
269 secondary_turret_number_7 = 5888,
270 secondary_turret_number_8 = 5920,
271 secondary_turret_number_9 = 5952,
272 secondary_turret_number_10 = 5984,
273 secondary_gun_number_1 = 6016,
274 secondary_gun_number_2 = 6048,
275 secondary_gun_number_3 = 6080,
276 secondary_gun_number_4 = 6112,
277 secondary_gun_number_5 = 6144,
278 secondary_gun_number_6 = 6176,
279 secondary_gun_number_7 = 6208,
280 secondary_gun_number_8 = 6240,
281 secondary_gun_number_9 = 6272,
282 secondary_gun_number_10 = 6304,
283 secondary_launcher_1 = 6336,
284 secondary_launcher_2 = 6368,
285 secondary_launcher_3 = 6400,
286 secondary_launcher_4 = 6432,
287 secondary_launcher_5 = 6464,
288 secondary_launcher_6 = 6496,
289 secondary_launcher_7 = 6528,
290 secondary_launcher_8 = 6560,
291 secondary_launcher_9 = 6592,
292 secondary_launcher_10 = 6624,
293 secondary_defense_systems_1 = 6656,
294 secondary_defense_systems_2 = 6688,
295 secondary_defense_systems_3 = 6720,
296 secondary_defense_systems_4 = 6752,
297 secondary_defense_systems_5 = 6784,
298 secondary_defense_systems_6 = 6816,
299 secondary_defense_systems_7 = 6848,
300 secondary_defense_systems_8 = 6880,
301 secondary_defense_systems_9 = 6912,
302 secondary_defense_systems_10 = 6944,
303 secondary_radar_1 = 6976,
304 secondary_radar_2 = 7008,
305 secondary_radar_3 = 7040,
306 secondary_radar_4 = 7072,
307 secondary_radar_5 = 7104,
308 secondary_radar_6 = 7136,
309 secondary_radar_7 = 7168,
310 secondary_radar_8 = 7200,
311 secondary_radar_9 = 7232,
312 secondary_radar_10 = 7264,
313 deck_Elevator_1 = 7296,
314 deck_Elevator_2 = 7328,
317 jet_blast_deflector_1 = 7424,
318 jet_blast_deflector_2 = 7456,
319 arrestor_wires_1 = 7488,
320 arrestor_wires_2 = 7520,
321 arrestor_wires_3 = 7552,
324 fuselage_fold = 7616,
325 Main_Cargo_Door = 7648,
327 air_to_air_refueling_boom = 7680,
328 primary_aerial_refueling_receptacle_door = 7680,
329 secondary_aerial_refueling_receptacle_door = 7776,
330 aerial_refueling_receptacle_latch = 7808,
340 cargo_door_10 = 8128,
341 centre_refuelling_drogue = 8160,
342 port_refuelling_drogue = 8192,
343 starboard_refuelling_drogue = 8224,
344 submarine_engine_exhaust_mast = 8256,
345 submarine_mast_1 = 8288,
346 submarine_mast_2 = 8320,
347 submarine_mast_3 = 8352,
348 submarine_mast_4 = 8384,
349 submarine_mast_5 = 8416,
350 submarine_mast_6 = 8448,
351 submarine_mast_7 = 8480,
352 submarine_mast_8 = 8512,
353 submarine_mast_9 = 8544,
354 submarine_mast_10 = 8576,
355 vectored_thrust_nozzle = 8608,
356 left_door_of_the_left_weapon_bay = 8640,
357 right_door_of_the_left_weapon_bay = 8672,
358 left_door_of_the_right_weapon_bay = 8704,
359 right_door_of_the_right_weapon_bay = 8736,
361 countermeasure_door_left = 8800,
362 countermeasure_door_right = 8832,
363 hook_door_forward = 8864,
364 hook_door_aft = 8896,
365 lift_fan_upper_door = 8928,
366 lift_fan_lower_door_left = 8960,
367 lift_fan_lower_door_right = 8992,
368 refuel_probe_door = 9024,
369 left_engine_nacelle = 9056,
370 right_engine_nacelle = 9088,
371 first_left_wheel = 9120,
372 first_right_wheel = 9152,
373 second_left_wheel = 9184,
374 second_right_wheel = 9216,
375 third_left_wheel = 9248,
376 third_right_wheel = 9280,
377 fourth_left_wheel = 9312,
378 fourth_right_wheel = 9344,
379 fifth_left_wheel = 9376,
380 fifth_right_wheel = 9408,
381 sixth_left_wheel = 9440,
382 sixth_right_wheel = 9472,
383 seventh_left_wheel = 9504,
384 seventh_right_wheel = 9536,
385 eighth_left_wheel = 9568,
386 eighth_right_wheel = 9600,
387 ninth_left_wheel = 9632,
388 ninth_right_wheel = 9664,
389 tenth_left_wheel = 9696,
390 tenth_right_wheel = 9728,
391 refueling_probe = 9760,
392 steering_wheel = 9792,
393 gimabled_sensor_azimuth_1 = 15424,
394 gimabled_sensor_azimuth_2 = 15456,
395 gimabled_sensor_azimuth_3 = 15488,
396 gimabled_sensor_azimuth_4 = 15520,
397 gimabled_sensor_azimuth_5 = 15552,
398 gimabled_sensor_azimuth_6 = 15584,
399 gimabled_sensor_azimuth_7 = 15616,
400 gimabled_sensor_azimuth_8 = 15648,
401 gimabled_sensor_azimuth_9 = 15680,
402 gimabled_sensor_azimuth_10 = 15712,
403 gimabled_sensor_elevation_1 = 15744,
404 gimabled_sensor_elevation_2 = 15776,
405 gimabled_sensor_elevation_3 = 15808,
406 gimabled_sensor_elevation_4 = 15840,
407 gimabled_sensor_elevation_5 = 15872,
408 gimabled_sensor_elevation_6 = 15904,
409 gimabled_sensor_elevation_7 = 15936,
410 gimabled_sensor_elevation_8 = 15968,
411 gimabled_sensor_elevation_9 = 16000,
412 gimabled_sensor_elevation_10 = 16032,
420 wind_direction = 32704
445 const std::string* findStateName(States::Id
id)
const;
454 const States::Id* findStateId(
const std::string& name)
const;
462 const std::string* findPartName(Parts::Id
id)
const;
471 const Parts::Id* findPartId(
const std::string& name)
const;
474 void addState(
const std::string& name, States::Id
id);
477 void removeState(
const std::string& name);
480 void addPart(
const std::string& name, Parts::Id
id);
483 void removePart(
const std::string& name);
490 virtual std::string cleanUpName(
const std::string&)
const;
493 virtual bool partNameIsNumber(
const std::string& partName)
const;
498 virtual void initialize();
Id
Definition: DtModelSemanticsMapper.h:146
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
std::map< std::string, States::Id > StateNameToIdMap
Definition: DtModelSemanticsMapper.h:500
std::map< Parts::Id, std::string > PartIdToNameMap
Definition: DtModelSemanticsMapper.h:504
Default mapper creator, registered by the DtDe.
Definition: DtModelSemanticsMapper.h:515
PartIdToNameMap myPartIdsToNames
Definition: DtModelSemanticsMapper.h:510
std::map< States::Id, std::string > StateIdToNameMap
Definition: DtModelSemanticsMapper.h:501
The DtBaseConnection is an abstract class.
Definition: DtBaseConnection.h:35
PartNameToIdMap myPartNamesToIds
Definition: DtModelSemanticsMapper.h:509
Contains makVrv::DtVirtualBaseClass class.
This struct is used like a namespace. To use an enumeration value simple type: DtModelSemanticsMapper...
Definition: DtModelSemanticsMapper.h:36
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
StateNameToIdMap myStateNamesToIds
Definition: DtModelSemanticsMapper.h:506
This struct is used like a namespace. To use an enumeration value simple type: DtModelSemanticsMapper...
Definition: DtModelSemanticsMapper.h:144
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
StateIdToNameMap myStateIdsToNames
Definition: DtModelSemanticsMapper.h:507
Id
Definition: DtModelSemanticsMapper.h:40
std::map< std::string, Parts::Id > PartNameToIdMap
Definition: DtModelSemanticsMapper.h:503
The DtModelSemanticsMapper object is responsible for mapping Names of model semantics declarations (f...
Definition: DtModelSemanticsMapper.h:27
Contains DLL export macros.