VR-Forces 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>
15 #include <vrvCore/DtSimState.h>
16 #include <vrvCore/DtStateView.h>
19 #include <matrix/vlVector.h>
20 
21 namespace makVrv
22 {
23  class DtMessage;
24 
29 
34 }
35 
36 namespace makVrf
37 {
38  DT_DLL_VRFGUICORE bool operator==(const std::vector<makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord>& lhs, const std::vector<makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord>& rhs);
39  DT_DLL_VRFGUICORE bool operator!=(const std::vector<makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord>& lhs, const std::vector<makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord>& rhs);
40 
42  {
43 
44  public:
45 
48 
51 
53  {
54  return ((mySurgeDepth == rhs.mySurgeDepth) &&
55  (myFogHeight == rhs.myFogHeight) &&
56  (myFogColor == rhs.myFogColor) &&
57  (mySnowAccumulation == rhs.mySnowAccumulation) &&
58  (mySnowMinimumAltitude == rhs.mySnowMinimumAltitude) &&
59  (mySnowRoadAccumulation == rhs.mySnowRoadAccumulation) &&
60  (myRainAccumulation == rhs.myRainAccumulation) &&
61  (myChoppiness == rhs.myChoppiness) &&
62  (mySwellStateDirection == rhs.mySwellStateDirection) &&
63  (myPriority == rhs.myPriority) &&
64  (myIllumination == rhs.myIllumination) &&
65  (myThermoclineLayer1Depth == rhs.myThermoclineLayer1Depth) &&
66  (myThermoclineLayer1Permeability == rhs.myThermoclineLayer1Permeability) &&
67  (myThermoclineLayer2Depth == rhs.myThermoclineLayer2Depth) &&
68  (myThermoclineLayer2Permeability == rhs.myThermoclineLayer2Permeability) &&
69  (myThermoclineLayer3Depth == rhs.myThermoclineLayer3Depth) &&
70  (myThermoclineLayer3Permeability == rhs.myThermoclineLayer3Permeability) &&
71  (myThermoclineLayer4Depth == rhs.myThermoclineLayer4Depth) &&
72  (myThermoclineLayer4Permeability == rhs.myThermoclineLayer4Permeability) &&
73  (myThermoclineLayer5Depth == rhs.myThermoclineLayer5Depth) &&
74  (myThermoclineLayer5Permeability == rhs.myThermoclineLayer5Permeability) &&
75  (mySwellState == rhs.mySwellState) &&
76  (myWindDrivenSeaStateEnabled == rhs.myWindDrivenSeaStateEnabled) &&
77  (mySeaStateDirection == rhs.mySeaStateDirection) &&
78  (mySeaState == rhs.mySeaState) &&
79  (myTidalOffset == rhs.myTidalOffset) &&
80  (myAmbientWaterTemperature == rhs.myAmbientWaterTemperature) &&
81  (myWaterCurrentDirection == rhs.myWaterCurrentDirection) &&
82  (myWaterCurrentSpeed == rhs.myWaterCurrentSpeed) &&
83  (mySurfaceTransparency == rhs.mySurfaceTransparency) &&
84  (myUnderwaterVisibility == rhs.myUnderwaterVisibility) &&
85  (myAmbientAirTemperature == rhs.myAmbientAirTemperature) &&
86  (myAmbientAirPressure == rhs.myAmbientAirPressure) &&
87  (myAirTemperatureAltitude == rhs.myAirTemperatureAltitude) &&
88  (myAirPressureAltitude == rhs.myAirPressureAltitude) &&
89  (myAirTemperatureAltitudeIsSeaLevel == rhs.myAirTemperatureAltitudeIsSeaLevel) &&
90  (myAirPressureAltitudeIsSeaLevel == rhs.myAirPressureAltitudeIsSeaLevel) &&
91  (myHumidity == rhs.myHumidity) &&
92  (myWindSpeed == rhs.myWindSpeed) &&
93  (myWindDirection == rhs.myWindDirection) &&
94  (myElevationalConfigurations == rhs.myElevationalConfigurations) &&
95  (myVisibility == rhs.myVisibility) &&
96  (myPrecipitationType == rhs.myPrecipitationType) &&
97  (myPrecipitationIntensity == rhs.myPrecipitationIntensity) &&
98  (mySeaLevelWaterConcentration == rhs.mySeaLevelWaterConcentration) &&
99  (myLightningPresent == rhs.myLightningPresent));
100  }
101 
103  {
104  return !(*this == rhs);
105  }
106 
111 
112  public:
114  unsigned int myPrecipitationType;
115  double myVisibility;
117  double myWindSpeed;
118  std::vector<makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord> myElevationalConfigurations;
125  double myHumidity;
136  unsigned int mySwellState;
138  double myChoppiness;
139  double mySurgeDepth;
151 
152  double myFogHeight;
158 
160 
162  };
163 
166 
169 
172 
175 /*
176  DT_DLL_VRFGUICORE bool operator==(const makArchives::DtEnvironmentRecord::ElevationalConfigurationRecordList& rhs, const makArchives::DtEnvironmentRecord::ElevationalConfigurationRecordList& lhs);
177  DT_DLL_VRFGUICORE bool operator!=(const makArchives::DtEnvironmentRecord::ElevationalConfigurationRecordList& rhs, const makArchives::DtEnvironmentRecord::ElevationalConfigurationRecordList& lhs);*/
178 
179 
182 
185  {
186  public:
188  makVrv::DtStateViewCollection<DtVrlinkSimulatedWeatherState>(de, makVrv::DtSimEntryUpdater::NoUpdates)
189  {
190  }
191  };
192 }
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 makVrv::DtMessage & operator>>(makVrv::DtMessage &msg, DtVrlinkSimulatedAerodromeState &state)
Decode a DtVrlinkSimulatedAerodromeState from a DtMessage.
DT_DLL_VRFGUICORE makVrv::DtMessage & operator<<(DtMessage &msg, const makVrf::DtNetworkMessageAgentInterface &)
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:187
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:242
makVrv::DtStateView< DtVrlinkSimulatedWeatherState > DtWeatherStateView
Create a DtStateView templated on DtVrlinkSimulatedWeatherState.
Definition: vrlinkSimulatedWeatherState.h:181
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:184
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)
A DtSimState is the base class for all state objects. Derived instances of DtSimState will be created...
Definition: DtSimState.h:19
DT_DLL_VRFGUICORE makVrv::DtMessage & operator>>(DtMessage &msg, makVrf::DtNetworkMessageAgentInterface &)
DT_DLL_VRFGUICORE makVrv::DtMessage & operator<<(makVrv::DtMessage &msg, const DtVrlinkSimulatedAerodromeState &state)
Encode a DtVrlinkSimulatedAerodromeState into a DtMessage.
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:72
std::vector< DtElevationalConfigurationRecord > ElevationalConfigurationRecordList
Definition: DtEnvironmentRecord.h:370
Contains makVrv::DtSimState class.

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)