VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrlinkSimulatedWeatherState.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
7 
8 #pragma once
9 
10 #include <vrfGuiCore/vrfGuiCore.h>
11 #include <vrvCore/DtSimState.h>
12 #include <vrvCore/DtStateView.h>
15 #include <matrix/vlVector.h>
17 
18 namespace makVrv
19 {
20  class DtMessage;
21 }
22 
23 namespace makVrf
24 {
25  DT_DLL_VRFGUICORE bool operator==(const std::vector<makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord>& lhs, const std::vector<makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord>& rhs);
26  DT_DLL_VRFGUICORE bool operator!=(const std::vector<makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord>& lhs, const std::vector<makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord>& rhs);
27 
29  {
30 
31  public:
32 
35 
38 
40  {
41  return ((myAirTurbidity == rhs.myAirTurbidity) &&
42  (mySurgeDepth == rhs.mySurgeDepth) &&
43  (myFogHeight == rhs.myFogHeight) &&
44  (myFogColor == rhs.myFogColor) &&
45  (mySnowAccumulation == rhs.mySnowAccumulation) &&
46  (mySnowMinimumAltitude == rhs.mySnowMinimumAltitude) &&
47  (mySnowRoadAccumulation == rhs.mySnowRoadAccumulation) &&
48  (myRainAccumulation == rhs.myRainAccumulation) &&
49  (myChoppiness == rhs.myChoppiness) &&
50  (mySwellStateDirection == rhs.mySwellStateDirection) &&
51  (myPriority == rhs.myPriority) &&
52  (myIllumination == rhs.myIllumination) &&
53  (myThermoclineLayer1Depth == rhs.myThermoclineLayer1Depth) &&
54  (myThermoclineLayer1Permeability == rhs.myThermoclineLayer1Permeability) &&
55  (myThermoclineLayer2Depth == rhs.myThermoclineLayer2Depth) &&
56  (myThermoclineLayer2Permeability == rhs.myThermoclineLayer2Permeability) &&
57  (myThermoclineLayer3Depth == rhs.myThermoclineLayer3Depth) &&
58  (myThermoclineLayer3Permeability == rhs.myThermoclineLayer3Permeability) &&
59  (myThermoclineLayer4Depth == rhs.myThermoclineLayer4Depth) &&
60  (myThermoclineLayer4Permeability == rhs.myThermoclineLayer4Permeability) &&
61  (myThermoclineLayer5Depth == rhs.myThermoclineLayer5Depth) &&
62  (myThermoclineLayer5Permeability == rhs.myThermoclineLayer5Permeability) &&
63  (mySwellState == rhs.mySwellState) &&
64  (myWindDrivenSeaStateEnabled == rhs.myWindDrivenSeaStateEnabled) &&
65  (mySeaStateDirection == rhs.mySeaStateDirection) &&
66  (mySeaState == rhs.mySeaState) &&
67  (myTidalDirection == rhs.myTidalDirection) &&
68  (myTidalOffset == rhs.myTidalOffset) &&
69  (myAmbientWaterTemperature == rhs.myAmbientWaterTemperature) &&
70  (myWaterCurrentDirection == rhs.myWaterCurrentDirection) &&
71  (myWaterCurrentSpeed == rhs.myWaterCurrentSpeed) &&
72  (mySurfaceTransparency == rhs.mySurfaceTransparency) &&
73  (myUnderwaterVisibility == rhs.myUnderwaterVisibility) &&
74  (myAmbientAirTemperature == rhs.myAmbientAirTemperature) &&
75  (myAmbientAirPressure == rhs.myAmbientAirPressure) &&
76  (myAirTemperatureAltitude == rhs.myAirTemperatureAltitude) &&
77  (myAirPressureAltitude == rhs.myAirPressureAltitude) &&
78  (myAirTemperatureAltitudeIsSeaLevel == rhs.myAirTemperatureAltitudeIsSeaLevel) &&
79  (myAirPressureAltitudeIsSeaLevel == rhs.myAirPressureAltitudeIsSeaLevel) &&
80  (myHumidity == rhs.myHumidity) &&
81  (myWindSpeed == rhs.myWindSpeed) &&
82  (myWindDirection == rhs.myWindDirection) &&
83  (myElevationalConfigurations == rhs.myElevationalConfigurations) &&
84  (myVisibility == rhs.myVisibility) &&
85  (myPrecipitationType == rhs.myPrecipitationType) &&
86  (myPrecipitationIntensity == rhs.myPrecipitationIntensity) &&
87  (myLightningPresent == rhs.myLightningPresent));
88  }
89 
91  {
92  return !(*this == rhs);
93  }
94 
95  public:
98  unsigned int myPrecipitationType;
99  double myVisibility;
101  double myWindSpeed;
102  std::vector<makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord> myElevationalConfigurations;
109  double myHumidity;
120  unsigned int mySwellState;
122  double myChoppiness;
123  double mySurgeDepth;
135 
136  double myFogHeight;
142 
144 
146  };
147 
150 
153 
156 
159 /*
160  DT_DLL_VRFGUICORE bool operator==(const makArchives::DtEnvironmentRecord::ElevationalConfigurationRecordList& rhs, const makArchives::DtEnvironmentRecord::ElevationalConfigurationRecordList& lhs);
161  DT_DLL_VRFGUICORE bool operator!=(const makArchives::DtEnvironmentRecord::ElevationalConfigurationRecordList& rhs, const makArchives::DtEnvironmentRecord::ElevationalConfigurationRecordList& lhs);*/
162 
163 
166 
169  {
170  public:
172  makVrv::DtStateViewCollection<DtVrlinkSimulatedWeatherState>(de, makVrv::DtSimEntryUpdater::NoUpdates)
173  {
174  }
175  };
176 }
Contains makVrv::DtStateViewCollection class.
The IGI Message. Is easily encoded and decoding using stream operators. It also provides validation d...
Definition: DtMessage.h:30
DT_DLL_VRFGUICORE bool operator==(const std::vector< makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord > &lhs, const std::vector< makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord > &rhs)
DtWeatherStateViewCollection(makVrv::DtDe &de)
Definition: vrlinkSimulatedWeatherState.h:171
Contains makVrv::DtStateView class.
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
Record for an elevational configuration A record of this type consists of 1) a base MSL altitude...
Definition: DtEnvironmentRecord.h:236
makVrv::DtStateView< DtVrlinkSimulatedWeatherState > DtWeatherStateView
Create a DtStateView templated on DtVrlinkSimulatedWeatherState.
Definition: vrlinkSimulatedWeatherState.h:165
The declaration of the makArchives::DtEnvironmentRecord class.
Collection of VRF Weather specific state data. Use this state view to get information for Weather dat...
Definition: vrlinkSimulatedWeatherState.h:168
A DtStateView is a the interface to simulation state information. Users can create DtStateViews for s...
Definition: DtStateView.h:49
A DtStateViewCollection is a collection of DtStateViews of a specific state.
Definition: DtStateViewCollection.h:27
Record of environment/weather settings Includes precipitation, air, and clouds.
Definition: DtEnvironmentRecord.h:36
DT_DLL_VRFGUICORE bool operator!=(const std::vector< makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord > &lhs, const std::vector< makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord > &rhs)
DT_DLL_VRFGUICORE makVrv::DtMessage & operator<<(makVrv::DtMessage &msg, const DtVrlinkSimulatedAggregateState &state)
Encode a DtVrlinkSimulatedEnvironmentState into a DtMessage.
A DtSimState is the base class for all state objects. Derived instances of DtSimState will be created...
Definition: DtSimState.h:19
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:70
Contains makVrv::DtSimState class.
DT_DLL_VRFGUICORE makVrv::DtMessage & operator>>(makVrv::DtMessage &msg, DtVrlinkSimulatedAggregateState &state)
Decode a DtVrlinkSimulatedEnvironmentState from a DtMessage.

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)