VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
extendedLightingUtils.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vlutil/vlString.h>
12 
13 #define UNSPECIFIED_LIGHT_INT_VALUE -1
14 
16 {
21 };
22 
24 {
27 };
28 
30 {
37 };
38 
40 {
44 };
45 
47 {
54 };
55 
57 {
60 };
61 
63 {
67 };
68 
70 {
73 };
74 
76 {
77  DtString str = "On";
78  switch (type)
79  {
81  {
82  str = "Upper Only";
83  }
84  break;
86  {
87  str = "Lower Only";
88  }
89  break;
91  {
92  str = "Off";
93  }
94  break;
95  }
96 
97  return str;
98 }
99 
101 {
102  DtString str = "Unsupported";
103  switch (type)
104  {
106  {
107  str = "Day";
108  }
109  break;
111  {
112  str = "Night";
113  }
114  break;
115  }
116 
117  return str;
118 }
119 
121 {
122  DtString str = "Unsupported";
123  switch (type)
124  {
126  {
127  str = "Steady";
128  }
129  break;
131  {
132  str = "Flash 1";
133  }
134  break;
136  {
137  str = "Flash 2";
138  }
139  break;
141  {
142  str = "Flash 3";
143  }
144  break;
146  {
147  str = "Flash 4";
148  }
149  break;
151  {
152  str = "Flash 5";
153  }
154  break;
155  }
156 
157  return str;
158 }
159 
161 {
162  DtString str = "Dim";
163  switch (type)
164  {
166  {
167  str = "Bright";
168  }
169  break;
171  {
172  str = "Off";
173  }
174  break;
175  }
176 
177  return str;
178 }
179 
181 {
182  DtString str = "Unsupported";
183  switch (type)
184  {
186  {
187  str = "Steady";
188  }
189  break;
191  {
192  str = "Flash 1";
193  }
194  break;
196  {
197  str = "Flash 2";
198  }
199  break;
201  {
202  str = "Flash 3";
203  }
204  break;
206  {
207  str = "Flash 4";
208  }
209  break;
211  {
212  str = "Flash 5";
213  }
214  break;
215  }
216 
217  return str;
218 }
219 
221 {
222  DtString str = "Unsupported";
223  switch (type)
224  {
225  case DtNVGModeTypeOvert:
226  {
227  str = "Overt Lighting";
228  }
229  break;
230  case DtNVGModeTypeCovert:
231  {
232  str = "Covert Lighting";
233  }
234  break;
235  }
236 
237  return str;
238 }
239 
241 {
242  DtString str = "Unsupported";
243  switch (type)
244  {
246  {
247  str = "Red";
248  }
249  break;
251  {
252  str = "Amber";
253  }
254  break;
256  {
257  str = "Green";
258  }
259  break;
260  }
261 
262  return str;
263 };
264 
266 {
267  DtString str = "Unsupported";
268  switch (type)
269  {
271  {
272  str = "Day";
273  }
274  break;
276  {
277  str = "Night";
278  }
279  break;
280  }
281 
282  return str;
283 }
Definition: extendedLightingUtils.h:58
Definition: extendedLightingUtils.h:66
Definition: extendedLightingUtils.h:50
Definition: extendedLightingUtils.h:32
DtString antiCollisionLightDayNightString(int type=DtAntiCollisionLightDayNightTypeDay)
Definition: extendedLightingUtils.h:100
DtRefuelingStationLightDayNightType
Definition: extendedLightingUtils.h:69
Definition: extendedLightingUtils.h:19
Definition: extendedLightingUtils.h:49
Definition: extendedLightingUtils.h:51
DtString refuelingStationLightDayNightString(int type=DtRefuelingStationLightDayNightTypeDay)
Definition: extendedLightingUtils.h:265
Definition: extendedLightingUtils.h:18
Definition: extendedLightingUtils.h:52
Definition: extendedLightingUtils.h:65
Definition: extendedLightingUtils.h:25
DtString nvgModeString(int type=DtNVGModeTypeOvert)
Definition: extendedLightingUtils.h:220
DtNavigationLightsFlashingType
Definition: extendedLightingUtils.h:46
DtString refuelingStationLightColorString(int type=DtRefuelingStationLightColorTypeRed)
Definition: extendedLightingUtils.h:240
DtNavigationLightsStateType
Definition: extendedLightingUtils.h:39
DtString antiCollisionLightsStateString(int type=DtAntiCollisionLightsStateOn)
Definition: extendedLightingUtils.h:75
Definition: extendedLightingUtils.h:53
Definition: extendedLightingUtils.h:59
DtRefuelingStationLightColorType
Definition: extendedLightingUtils.h:62
Definition: extendedLightingUtils.h:34
Definition: extendedLightingUtils.h:20
DtString navigationLightsFlashingString(int type=DtNavigationLightsFlashingTypeSteady)
Definition: extendedLightingUtils.h:180
Definition: extendedLightingUtils.h:36
Definition: extendedLightingUtils.h:64
Definition: extendedLightingUtils.h:72
Definition: extendedLightingUtils.h:42
Definition: extendedLightingUtils.h:17
DtAntiCollisionLightsStateType
Definition: extendedLightingUtils.h:15
Definition: extendedLightingUtils.h:33
Definition: extendedLightingUtils.h:41
Definition: extendedLightingUtils.h:31
DtString antiCollisionLightsFlashingString(int type=DtAntiCollisionLightsFlashingTypeSteady)
Definition: extendedLightingUtils.h:120
Definition: extendedLightingUtils.h:71
Definition: extendedLightingUtils.h:48
DtString navigationLightsStateString(int type=DtNavigationLightsStateDim)
Definition: extendedLightingUtils.h:160
DtAntiCollisionLightsFlashingType
Definition: extendedLightingUtils.h:29
DtNVGModeType
Definition: extendedLightingUtils.h:56
DtAntiCollisionLightDayNightType
Definition: extendedLightingUtils.h:23
Definition: extendedLightingUtils.h:35
Definition: extendedLightingUtils.h:26
Definition: extendedLightingUtils.h:43

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)