WSF
WsfPProxyBasicValues.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2003-2015 The Boeing Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11// ****************************************************************************
12// Updated by Infoscitex, a DCS Company.
13// ****************************************************************************
14
15#ifndef WSFPPROXYBASICVALUES_HPP
16#define WSFPPROXYBASICVALUES_HPP
17
18#include <cassert>
19#include <climits>
20#include <cstring>
21#include <limits>
22#include <map>
23#include <sstream>
24
25#include "UtAngleR.hpp"
26#include "UtAngleRate.hpp"
27#include "UtDataSize.hpp"
28#include "UtLatPos.hpp"
29#include "UtLength.hpp"
30#include "UtLonPos.hpp"
31#include "UtSpeed.hpp"
32#include "UtStringUtil.hpp"
33#include "UtTime.hpp"
34#include "UtUnitTypes.hpp"
35#include "WsfPProxyCommon.hpp"
36#include "WsfParseNode.hpp"
37
38class WsfParseRule;
39
40namespace WsfProxy
41{
42#pragma pack(push, 1)
46class WSF_PARSER_EXPORT BasicValue
47{
48public:
60 // Returns 'true' if the value is in the unset state
61 bool IsUnset() const { return 0 != (mBasicValueFlags & cVALUE_UNSET); }
63 bool IsSet() const noexcept { return !IsUnset(); }
64 // Sets the value to the 'unset' state
67 bool IsInherited() const { return 0 != (mBasicValueFlags & cVALUE_INHERITED); }
68 void SetInherited(bool aIsInherited)
69 {
70 if (aIsInherited)
71 {
73 }
74 else
75 {
77 }
78 }
79
80protected:
82 unsigned char mBasicValueFlags;
83#ifdef WSF_PARSE_DEBUG_MEMORY
84 UT_MEMORY_DEBUG_MARKER(cMDB_PROXY_BASIC_VALUE);
85#endif
86};
87
88class WSF_PARSER_EXPORT Position : public BasicValue
89{
90public:
92 enum Format
93 {
96 };
97
98 Position();
99 Position(const UtLatPos&, const UtLonPos&);
100
101 std::string ToString() const;
102 void Read(WsfParseNode* aNodePtr);
103 std::string Write(WsfParseRule* aRulePtr);
104 void CopyValue(const Position& aRhs);
105 bool Equal(const Position& aRhs) const;
106 bool Less(const Position& aRhs) const;
107 bool SetFromString(const std::string& aString);
108 void SetMGRS(const std::string& aMGRS);
109
110 UtLatPos GetLatitude() const;
111 UtLonPos GetLongitude() const;
112 void SetLatitude(UtLatPos aLat)
113 {
114 UseLatLon();
115 mLatitude = aLat;
116 mLatFormat = aLat.GetFormat();
117 ClearUnset();
118 }
119 void SetLongitude(UtLonPos aLon)
120 {
121 UseLatLon();
122 mLongitude = aLon;
123 mLonFormat = aLon.GetFormat();
124 ClearUnset();
125 }
126 bool operator==(const Position& aRhs) const
127 {
128 if (mFormat != aRhs.mFormat)
129 {
130 return false;
131 }
132 if (mFormat == cLAT_LON)
133 {
134 return mLatitude == aRhs.mLatitude && mLongitude == aRhs.mLongitude;
135 }
136 else
137 {
138 return memcmp((void*)mMGRS, (void*)aRhs.mMGRS, 16) == 0;
139 }
140 }
141
142private:
143 std::string PrintLatLon(bool aShowPositionKeyword) const;
144 void UseLatLon()
145 {
146 if (mFormat != cLAT_LON)
147 {
148 mFormat = cLAT_LON;
149 mLatitude = mLongitude = 0.0;
150 }
151 }
152 Format mFormat;
153 int mLatFormat;
154 int mLonFormat;
155 union
156 {
157 struct
158 {
159 double mLatitude;
161 };
162 char mMGRS[16];
163 };
164};
165
166class WSF_PARSER_EXPORT Length2 : public BasicValue
167{
168public:
170
171 Length2();
172
173 std::string ToString() const;
174 void Read(WsfParseNode* aNodePtr);
175 std::string Write(WsfParseRule* /* aRulePtr */) { return ToString(); }
176 void CopyValue(const Length2& aRhs);
177 bool Equal(const Length2& aRhs) const;
178 bool Less(const Length2& aRhs) const;
179 bool SetFromString(const std::string& aString);
180 bool operator==(const Length2& aRhs) const { return Equal(aRhs); }
181 bool operator!=(const Length2& aRhs) const { return !Equal(aRhs); }
182 unsigned char mFormat;
183 double mX;
184 double mY;
185};
186
187class WSF_PARSER_EXPORT Length3 : public BasicValue
188{
189public:
191
192 Length3();
193
194 std::string ToString() const;
195 void Read(WsfParseNode* aNodePtr);
196 std::string Write(WsfParseRule* /* aRulePtr */) { return ToString(); }
197 void CopyValue(const Length3& aRhs);
198 bool Equal(const Length3& aRhs) const;
199 bool Less(const Length3& aRhs) const;
200 bool SetFromString(const std::string& aString);
201 bool operator==(const Length3& aRhs) const { return Equal(aRhs); }
202 bool operator!=(const Length3& aRhs) const { return !Equal(aRhs); }
203 unsigned char mFormat;
204 double mX;
205 double mY;
206 double mZ;
207};
208
209// Booleans are stored as 'char' with 0=false, 1=true, 2=unset
210class WSF_PARSER_EXPORT Bool : public BasicValue
211{
212public:
215 : mValue(false)
216 {
217 }
218 Bool(bool aValue)
219 : mValue(aValue)
220 {
221 ClearUnset();
222 }
223
224 void SetFromString(const std::string& aText);
225 void Read(WsfParseNode* aNodePtr)
226 {
227 std::string text = WsfParseNode::GetNodeString(aNodePtr);
228 if (!text.empty())
229 {
230 SetFromString(text);
231 }
232 }
233 std::string Write(WsfParseRule* /* aRulePtr */) { return ToString(); }
234 std::string ToString() const
235 {
236 if (IsUnset())
237 {
238 return "unset";
239 }
240 if (mValue)
241 {
242 return "true";
243 }
244 return "false";
245 }
246
247 operator bool() { return mValue; }
248 bool operator=(bool aRhs)
249 {
250 mValue = aRhs;
252 return mValue;
253 }
254
255 void CopyValue(const Bool& aRhs)
256 {
257 mValue = aRhs.mValue;
259 }
260 bool Equal(const Bool& aRhs) const
261 {
263 {
264 return true;
265 }
267 {
268 return false;
269 }
270 return mValue == aRhs.mValue;
271 }
272 bool Less(const Bool& aRhs) const { return mValue < aRhs.mValue; }
273 bool Negate()
274 {
275 mValue = !mValue;
276 return true;
277 }
278 bool IsTrue() { return mValue; }
279 bool operator==(const Bool& aRhs) const { return Equal(aRhs); }
280 bool operator!=(const Bool& aRhs) const { return !Equal(aRhs); }
281
282private:
283 bool mValue;
284};
285
286// Template class to handle most of the basic type routines.
287// T is the C++ data type stored as the proxy value.
288// T must support T(), T==T, T<T, T=T
289template<typename T, WsfProxy::ValueKind PROXY_TYPE_ID>
291{
292public:
294 static const WsfProxy::ValueKind cPROXY_TYPE_ID = PROXY_TYPE_ID;
295
297 : mValue()
298 {
299 }
300 void SetFromString(const std::string& aText)
301 {
302 std::stringstream ss(aText);
303 ss >> mValue;
304 ClearUnset();
305 }
306 void Read(WsfParseNode* aNodePtr)
307 {
308 // note: this is pretty inefficient, but it works on most types.
309 // this should be re-written for each type to eliminate string copies and memory allocations.
310 // Some types may be able to take advantage of the node structure to help read the value.
311 std::string text = WsfParseNode::GetNodeString(aNodePtr);
312 SetFromString(text);
313 }
314 std::string Write(WsfParseRule* /* aRulePtr */) { return ToString(); }
315 std::string ToString() const
316 {
317 std::stringstream ss;
318 if (!IsUnset())
319 {
320 ss << mValue;
321 }
322 else
323 {
324 ss << "";
325 }
326 return ss.str();
327 }
333
334 bool Equal(const BasicValueT<T, PROXY_TYPE_ID>& aRhs) const
335 {
337 {
338 return true;
339 }
341 {
342 return false;
343 }
344 return mValue == aRhs.mValue;
345 }
346 bool Less(const BasicValueT<T, PROXY_TYPE_ID>& aRhs) const { return mValue < aRhs.mValue; }
347 T& GetValue() { return mValue; }
348 const T& GetValue() const { return mValue; }
349 void SetValue(const T& aValue)
350 {
351 mValue = aValue;
352 ClearUnset();
353 }
354 bool operator==(const BasicValueT<T, PROXY_TYPE_ID>& aRhs) const { return Equal(aRhs); }
355 bool operator!=(const BasicValueT<T, PROXY_TYPE_ID>& aRhs) const { return !Equal(aRhs); }
356
357protected:
359};
360
361template<typename T, WsfProxy::ValueKind PROXY_TYPE_ID>
362class NumericValueT : public BasicValueT<T, PROXY_TYPE_ID>
363{
364public:
365 bool Negate(void* p)
366 {
367 this->mValue = -this->mValue;
368 return true;
369 }
371 : BasicValueT<T, PROXY_TYPE_ID>()
372 {
373 }
374 NumericValueT(const T& aValue) { this->SetValue(aValue); }
375 operator T() const { return this->GetValue(); }
377 {
378 this->SetValue(aValue);
379 return *this;
380 }
381};
382
383template<typename T, WsfProxy::ValueKind PROXY_TYPE_ID>
384class NumericUnitaryValueT : public NumericValueT<T, PROXY_TYPE_ID>
385{
386public:
388 static const int cUNIT_TYPE_ID = UnitaryValueType::UnitType::cUNIT_TYPE_ID;
390 : NumericValueT<T, PROXY_TYPE_ID>()
391 {
392 }
393 NumericUnitaryValueT(const T& aValue)
394 : NumericValueT<T, PROXY_TYPE_ID>(aValue)
395 {
396 }
398 {
399 this->SetValue(aValue);
400 return *this;
401 }
402};
403
404
475
476// 'unset' is represented as the empty string.
478{
479public:
481 String(const std::string& aValue)
482 {
483 mValue = aValue;
484 ClearUnset();
485 }
486 void SetFromString(const std::string& aText)
487 {
488 mValue = aText;
489 ClearUnset();
490 }
491 void SetValue(const std::string& aText) { mValue = aText; }
492 std::string ToString() const
493 {
494 if (!IsUnset())
495 {
496 return mValue;
497 }
498 else
499 {
500 return std::string();
501 }
502 }
503 bool Negate() { return false; }
504};
505
506// 'unset' is represented as the empty string.
508{
509public:
510 QuotableString() = default;
511 QuotableString(const std::string& aValue)
512 {
513 mValue = aValue;
514 ClearUnset();
515 }
516 void Read(WsfParseNode* aNodePtr)
517 {
519 ClearUnset();
520 }
521 void SetFromString(const std::string& aText)
522 {
523 mValue = aText;
524 ClearUnset();
525 }
526 void SetValue(const std::string& aText) { mValue = aText; }
527 std::string ToString() const
528 {
529 if (!IsUnset())
530 {
531 return mValue;
532 }
533 else
534 {
535 return std::string();
536 }
537 }
538 bool Negate() { return false; }
539};
540
541#pragma pack(pop)
542} // namespace WsfProxy
543
545namespace wsf
546{
548namespace proxy
549{
550
561
562} // namespace proxy
563} // namespace wsf
564
565#endif
@ cMDB_PROXY_BASIC_VALUE
Definition WsfParseDebugMarkers.hpp:23
Definition WsfParseNode.hpp:61
static std::string GetNodeString(WsfParseNode *aNodePtr)
Definition WsfParseNode.cpp:42
Definition WsfParseRule.hpp:131
bool operator!=(const BasicValueT< T, PROXY_TYPE_ID > &aRhs) const
Definition WsfPProxyBasicValues.hpp:355
BasicValueT()
Definition WsfPProxyBasicValues.hpp:296
void CopyValue(const BasicValueT< T, PROXY_TYPE_ID > &aRhs)
Definition WsfPProxyBasicValues.hpp:328
bool Equal(const BasicValueT< T, PROXY_TYPE_ID > &aRhs) const
Definition WsfPProxyBasicValues.hpp:334
void Read(WsfParseNode *aNodePtr)
Definition WsfPProxyBasicValues.hpp:306
static const WsfProxy::ValueKind cPROXY_TYPE_ID
Definition WsfPProxyBasicValues.hpp:294
T & GetValue()
Definition WsfPProxyBasicValues.hpp:347
T mValue
Definition WsfPProxyBasicValues.hpp:358
void SetValue(const T &aValue)
Definition WsfPProxyBasicValues.hpp:349
T ContainedBasicType
Definition WsfPProxyBasicValues.hpp:293
bool operator==(const BasicValueT< T, PROXY_TYPE_ID > &aRhs) const
Definition WsfPProxyBasicValues.hpp:354
std::string ToString() const
Definition WsfPProxyBasicValues.hpp:315
void SetFromString(const std::string &aText)
Definition WsfPProxyBasicValues.hpp:300
bool Less(const BasicValueT< T, PROXY_TYPE_ID > &aRhs) const
Definition WsfPProxyBasicValues.hpp:346
const T & GetValue() const
Definition WsfPProxyBasicValues.hpp:348
std::string Write(WsfParseRule *)
Definition WsfPProxyBasicValues.hpp:314
void SetUnset()
Definition WsfPProxyBasicValues.hpp:65
void SetInherited(bool aIsInherited)
Definition WsfPProxyBasicValues.hpp:68
BasicValue()
Definition WsfPProxyBasicValues.hpp:49
void ValueAsssigned()
Definition WsfPProxyBasicValues.hpp:81
bool IsSet() const noexcept
Definition WsfPProxyBasicValues.hpp:63
bool IsUnset() const
Definition WsfPProxyBasicValues.hpp:61
bool IsInherited() const
Definition WsfPProxyBasicValues.hpp:67
ValueFlags
Definition WsfPProxyBasicValues.hpp:54
@ cCOPY_BITS
Definition WsfPProxyBasicValues.hpp:58
@ cVALUE_BITS
Definition WsfPProxyBasicValues.hpp:57
@ cVALUE_INHERITED
Definition WsfPProxyBasicValues.hpp:55
@ cVALUE_UNSET
Definition WsfPProxyBasicValues.hpp:56
void ClearUnset()
Definition WsfPProxyBasicValues.hpp:66
unsigned char mBasicValueFlags
Definition WsfPProxyBasicValues.hpp:82
std::string ToString() const
Definition WsfPProxyBasicValues.hpp:234
bool Equal(const Bool &aRhs) const
Definition WsfPProxyBasicValues.hpp:260
void CopyValue(const Bool &aRhs)
Definition WsfPProxyBasicValues.hpp:255
bool operator!=(const Bool &aRhs) const
Definition WsfPProxyBasicValues.hpp:280
bool Less(const Bool &aRhs) const
Definition WsfPProxyBasicValues.hpp:272
Bool()
Definition WsfPProxyBasicValues.hpp:214
bool operator=(bool aRhs)
Definition WsfPProxyBasicValues.hpp:248
static const WsfProxy::ValueKind cPROXY_TYPE_ID
Definition WsfPProxyBasicValues.hpp:213
bool Negate()
Definition WsfPProxyBasicValues.hpp:273
bool IsTrue()
Definition WsfPProxyBasicValues.hpp:278
bool operator==(const Bool &aRhs) const
Definition WsfPProxyBasicValues.hpp:279
Bool(bool aValue)
Definition WsfPProxyBasicValues.hpp:218
void SetFromString(const std::string &aText)
Definition WsfPProxyBasicValues.cpp:36
void Read(WsfParseNode *aNodePtr)
Definition WsfPProxyBasicValues.hpp:225
std::string Write(WsfParseRule *)
Definition WsfPProxyBasicValues.hpp:233
Definition WsfPProxyBasicValues.hpp:167
bool operator==(const Length2 &aRhs) const
Definition WsfPProxyBasicValues.hpp:180
bool operator!=(const Length2 &aRhs) const
Definition WsfPProxyBasicValues.hpp:181
double mX
Definition WsfPProxyBasicValues.hpp:183
static const WsfProxy::ValueKind cPROXY_TYPE_ID
Definition WsfPProxyBasicValues.hpp:169
std::string ToString() const
Definition WsfPProxyBasicValues.cpp:343
double mY
Definition WsfPProxyBasicValues.hpp:184
unsigned char mFormat
Definition WsfPProxyBasicValues.hpp:182
Length2()
Definition WsfPProxyBasicValues.cpp:336
bool Equal(const Length2 &aRhs) const
Definition WsfPProxyBasicValues.cpp:364
void Read(WsfParseNode *aNodePtr)
Definition WsfPProxyBasicValues.cpp:305
std::string Write(WsfParseRule *)
Definition WsfPProxyBasicValues.hpp:175
Definition WsfPProxyBasicValues.hpp:188
bool Equal(const Length3 &aRhs) const
Definition WsfPProxyBasicValues.cpp:499
Length3()
Definition WsfPProxyBasicValues.cpp:467
double mZ
Definition WsfPProxyBasicValues.hpp:206
bool operator!=(const Length3 &aRhs) const
Definition WsfPProxyBasicValues.hpp:202
std::string ToString() const
Definition WsfPProxyBasicValues.cpp:475
static const WsfProxy::ValueKind cPROXY_TYPE_ID
Definition WsfPProxyBasicValues.hpp:190
double mY
Definition WsfPProxyBasicValues.hpp:205
void Read(WsfParseNode *aNodePtr)
Definition WsfPProxyBasicValues.cpp:430
std::string Write(WsfParseRule *)
Definition WsfPProxyBasicValues.hpp:196
double mX
Definition WsfPProxyBasicValues.hpp:204
unsigned char mFormat
Definition WsfPProxyBasicValues.hpp:203
bool operator==(const Length3 &aRhs) const
Definition WsfPProxyBasicValues.hpp:201
Definition WsfPProxyBasicValues.hpp:385
static const int cUNIT_TYPE_ID
Definition WsfPProxyBasicValues.hpp:388
NumericUnitaryValueT()
Definition WsfPProxyBasicValues.hpp:389
NumericUnitaryValueT(const T &aValue)
Definition WsfPProxyBasicValues.hpp:393
T UnitaryValueType
Definition WsfPProxyBasicValues.hpp:387
NumericUnitaryValueT< T, PROXY_TYPE_ID > & operator=(const T &aValue)
Definition WsfPProxyBasicValues.hpp:397
Definition WsfPProxyBasicValues.hpp:363
NumericValueT< T, PROXY_TYPE_ID > & operator=(const T &aValue)
Definition WsfPProxyBasicValues.hpp:376
NumericValueT(const T &aValue)
Definition WsfPProxyBasicValues.hpp:374
NumericValueT()
Definition WsfPProxyBasicValues.hpp:370
bool Negate(void *p)
Definition WsfPProxyBasicValues.hpp:365
Definition WsfPProxyBasicValues.hpp:89
static const WsfProxy::ValueKind cPROXY_TYPE_ID
Definition WsfPProxyBasicValues.hpp:91
Format
Definition WsfPProxyBasicValues.hpp:93
@ cLAT_LON
Definition WsfPProxyBasicValues.hpp:94
@ cMGRS
Definition WsfPProxyBasicValues.hpp:95
char mMGRS[16]
Definition WsfPProxyBasicValues.hpp:162
double mLongitude
Definition WsfPProxyBasicValues.hpp:160
void SetLatitude(UtLatPos aLat)
Definition WsfPProxyBasicValues.hpp:112
double mLatitude
Definition WsfPProxyBasicValues.hpp:159
void SetLongitude(UtLonPos aLon)
Definition WsfPProxyBasicValues.hpp:119
Position()
Definition WsfPProxyBasicValues.cpp:186
bool operator==(const Position &aRhs) const
Definition WsfPProxyBasicValues.hpp:126
void SetValue(const std::string &aText)
Definition WsfPProxyBasicValues.hpp:526
void SetFromString(const std::string &aText)
Definition WsfPProxyBasicValues.hpp:521
void Read(WsfParseNode *aNodePtr)
Definition WsfPProxyBasicValues.hpp:516
bool Negate()
Definition WsfPProxyBasicValues.hpp:538
std::string ToString() const
Definition WsfPProxyBasicValues.hpp:527
QuotableString(const std::string &aValue)
Definition WsfPProxyBasicValues.hpp:511
bool Negate()
Definition WsfPProxyBasicValues.hpp:503
void SetValue(const std::string &aText)
Definition WsfPProxyBasicValues.hpp:491
void SetFromString(const std::string &aText)
Definition WsfPProxyBasicValues.hpp:486
String(const std::string &aValue)
Definition WsfPProxyBasicValues.hpp:481
String()
Definition WsfPProxyBasicValues.hpp:480
std::string ToString() const
Definition WsfPProxyBasicValues.hpp:492
Definition WsfPProxyBasicValues.hpp:41
NumericUnitaryValueT< UtTimeValue, WsfProxy::cTIME_VALUE > Time
Definition WsfPProxyBasicValues.hpp:415
NumericUnitaryValueT< UtTime2Value, WsfProxy::cTIME2_VALUE > Time2
Definition WsfPProxyBasicValues.hpp:439
NumericUnitaryValueT< UtTorqueValue, WsfProxy::cTORQUE_VALUE > Torque
Definition WsfPProxyBasicValues.hpp:431
NumericUnitaryValueT< UtRatioValue, WsfProxy::cRATIO_VALUE > Ratio
Definition WsfPProxyBasicValues.hpp:463
NumericValueT< UtLonPos, WsfProxy::cLONGITUDE_VALUE > Longitude
Definition WsfPProxyBasicValues.hpp:411
NumericUnitaryValueT< UtLengthValue, WsfProxy::cLENGTH_VALUE > Length
Definition WsfPProxyBasicValues.hpp:413
NumericUnitaryValueT< UtAngularInertiaValue, WsfProxy::cANGULARINERTIA_VALUE > AngularInertia
Definition WsfPProxyBasicValues.hpp:473
NumericUnitaryValueT< UtDataRateValue, WsfProxy::cDATARATE_VALUE > DataRate
Definition WsfPProxyBasicValues.hpp:451
NumericUnitaryValueT< UtAreaDBValue, WsfProxy::cAREADB_VALUE > AreaDB
Definition WsfPProxyBasicValues.hpp:435
NumericUnitaryValueT< UtSpecificRangeValue, WsfProxy::cSPECIFICRANGE_VALUE > SpecificRange
Definition WsfPProxyBasicValues.hpp:471
NumericUnitaryValueT< UtFrequencyValue, WsfProxy::cFREQUENCY_VALUE > Frequency
Definition WsfPProxyBasicValues.hpp:443
NumericUnitaryValueT< UtAreaValue, WsfProxy::cAREA_VALUE > Area
Definition WsfPProxyBasicValues.hpp:433
NumericUnitaryValueT< UtVolumeValue, WsfProxy::cVOLUME_VALUE > Volume
Definition WsfPProxyBasicValues.hpp:437
NumericUnitaryValueT< UtFluenceValue, WsfProxy::cFLUENCE_VALUE > Fluence
Definition WsfPProxyBasicValues.hpp:459
NumericUnitaryValueT< UtSpeedValue, WsfProxy::cSPEED_VALUE > Speed
Definition WsfPProxyBasicValues.hpp:417
ValueKind
Definition WsfPProxyCommon.hpp:39
@ cBOOL_VALUE
Definition WsfPProxyCommon.hpp:45
@ cLENGTH3_VALUE
Definition WsfPProxyCommon.hpp:84
@ cPOSITION_VALUE
Definition WsfPProxyCommon.hpp:82
@ cLENGTH2_VALUE
Definition WsfPProxyCommon.hpp:83
NumericValueT< UtLatPos, WsfProxy::cLATITUDE_VALUE > Latitude
Definition WsfPProxyBasicValues.hpp:409
NumericUnitaryValueT< UtPowerDBValue, WsfProxy::cPOWERDB_VALUE > PowerDB
Definition WsfPProxyBasicValues.hpp:423
NumericValueT< int, WsfProxy::cINT_VALUE > Int
Definition WsfPProxyBasicValues.hpp:407
@ cVALUE_INHERITED
Definition WsfPProxyCommon.hpp:34
@ cVALUE_UNSET
Definition WsfPProxyCommon.hpp:35
NumericUnitaryValueT< UtAngularAccelerationValue, WsfProxy::cANGULARACCELERATION_VALUE > AngularAcceleration
Definition WsfPProxyBasicValues.hpp:449
NumericUnitaryValueT< UtIrradianceValue, WsfProxy::cIRRADIANCE_VALUE > Irradiance
Definition WsfPProxyBasicValues.hpp:461
NumericUnitaryValueT< UtPowerValue, WsfProxy::cPOWER_VALUE > Power
Definition WsfPProxyBasicValues.hpp:421
NumericUnitaryValueT< UtDataSizeValue, WsfProxy::cDATASIZE_VALUE > DataSize
Definition WsfPProxyBasicValues.hpp:419
NumericUnitaryValueT< UtMassTransferValue, WsfProxy::cMASSTRANSFER_VALUE > MassTransfer
Definition WsfPProxyBasicValues.hpp:455
NumericUnitaryValueT< UtMassDensityValue, WsfProxy::cMASSDENSITY_VALUE > MassDensity
Definition WsfPProxyBasicValues.hpp:453
NumericUnitaryValueT< UtSolidAngleValue, WsfProxy::cSOLIDANGLE_VALUE > SolidAngle
Definition WsfPProxyBasicValues.hpp:425
NumericUnitaryValueT< UtAngleValue, WsfProxy::cANGLE_VALUE > Angle
Definition WsfPProxyBasicValues.hpp:445
NumericUnitaryValueT< UtForceValue, WsfProxy::cFORCE_VALUE > Force
Definition WsfPProxyBasicValues.hpp:429
NumericUnitaryValueT< UtAccelerationValue, WsfProxy::cACCELERATION_VALUE > Acceleration
Definition WsfPProxyBasicValues.hpp:441
NumericUnitaryValueT< UtEnergyValue, WsfProxy::cENERGY_VALUE > Energy
Definition WsfPProxyBasicValues.hpp:457
NumericUnitaryValueT< UtAngularRateValue, WsfProxy::cANGULARRATE_VALUE > AngularRate
Definition WsfPProxyBasicValues.hpp:447
NumericUnitaryValueT< UtTemperatureValue, WsfProxy::cTEMPERATURE_VALUE > Temperature
Definition WsfPProxyBasicValues.hpp:469
NumericUnitaryValueT< UtMassValue, WsfProxy::cMASS_VALUE > Mass
Definition WsfPProxyBasicValues.hpp:427
NumericUnitaryValueT< UtNoisePressureValue, WsfProxy::cNOISEPRESSURE_VALUE > NoisePressure
Definition WsfPProxyBasicValues.hpp:465
NumericUnitaryValueT< UtPressureValue, WsfProxy::cPRESSURE_VALUE > Pressure
Definition WsfPProxyBasicValues.hpp:467
NumericValueT< double, WsfProxy::cDOUBLE_VALUE > Double
Definition WsfPProxyBasicValues.hpp:405
AltitudeReferenceEnum
Denotes altitude reference.
Definition WsfPProxyBasicValues.hpp:553
@ MSL
denotes the altitude is measured from mean sea level (MSL)
Definition WsfPProxyBasicValues.hpp:558
@ Default
Definition WsfPProxyBasicValues.hpp:557
@ AGL
denotes the altitude is measured from above ground level (AGL)
Definition WsfPProxyBasicValues.hpp:559
Function definitions for those who need run-time access to the version.
Definition WsfComm.cpp:32
Copyrights Multiple, All Rights Reserved