VR-Forces 4.8 Class Documentation
 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) 2018 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>
14 #include <matrix/vlVector.h>
15 
16 namespace makVrv
17 {
18  class DtMessage;
19 }
20 
21 namespace makVrf
22 {
24  {
25 
26  public:
27 
30 
33 
35  {
36  return ((myAirTurbidity == rhs.myAirTurbidity) &&
37  (mySurgeDepth == rhs.mySurgeDepth) &&
38  (myFogHeight == rhs.myFogHeight) &&
39  (myFogColor == rhs.myFogColor) &&
40  (mySnowAccumulation == rhs.mySnowAccumulation) &&
41  (mySnowMinimumAltitude == rhs.mySnowMinimumAltitude) &&
42  (mySnowRoadAccumulation == rhs.mySnowRoadAccumulation) &&
43  (myRainAccumulation == rhs.myRainAccumulation) &&
44  (myChoppiness == rhs.myChoppiness) &&
45  (mySwellStateDirection == rhs.mySwellStateDirection) &&
46  (myPriority == rhs.myPriority) &&
47  (myIllumination == rhs.myIllumination) &&
48  (myThermoclineLayer1Depth == rhs.myThermoclineLayer1Depth) &&
49  (myThermoclineLayer1Permeability == rhs.myThermoclineLayer1Permeability) &&
50  (myThermoclineLayer2Depth == rhs.myThermoclineLayer2Depth) &&
51  (myThermoclineLayer2Permeability == rhs.myThermoclineLayer2Permeability) &&
52  (myThermoclineLayer3Depth == rhs.myThermoclineLayer3Depth) &&
53  (myThermoclineLayer3Permeability == rhs.myThermoclineLayer3Permeability) &&
54  (myThermoclineLayer4Depth == rhs.myThermoclineLayer4Depth) &&
55  (myThermoclineLayer4Permeability == rhs.myThermoclineLayer4Permeability) &&
56  (myThermoclineLayer5Depth == rhs.myThermoclineLayer5Depth) &&
57  (myThermoclineLayer5Permeability == rhs.myThermoclineLayer5Permeability) &&
58  (mySwellState == rhs.mySwellState) &&
59  (myWindDrivenSeaStateEnabled == rhs.myWindDrivenSeaStateEnabled) &&
60  (mySeaStateDirection == rhs.mySeaStateDirection) &&
61  (mySeaState == rhs.mySeaState) &&
62  (myTidalDirection == rhs.myTidalDirection) &&
63  (myTidalOffset == rhs.myTidalOffset) &&
64  (myAmbientWaterTemperature == rhs.myAmbientWaterTemperature) &&
65  (myWaterCurrentDirection == rhs.myWaterCurrentDirection) &&
66  (myWaterCurrentSpeed == rhs.myWaterCurrentSpeed) &&
67  (mySurfaceTransparency == rhs.mySurfaceTransparency) &&
68  (myUnderwaterVisibility == rhs.myUnderwaterVisibility) &&
69  (myAmbientAirTemperature == rhs.myAmbientAirTemperature) &&
70  (myWindSpeed == rhs.myWindSpeed) &&
71  (myWindDirection == rhs.myWindDirection) &&
72  (myVisibility == rhs.myVisibility) &&
73  (myPrecipitationType == rhs.myPrecipitationType) &&
74  (myPrecipitationIntensity == rhs.myPrecipitationIntensity) &&
75  (myCloudState == rhs.myCloudState));
76  }
77 
79  {
80  return !(*this == rhs);
81  }
82 
83  public:
85  unsigned int myCloudState;
87  unsigned int myPrecipitationType;
88  double myVisibility;
90  double myWindSpeed;
97  double myTidalOffset;
102  unsigned int mySwellState;
104  double myChoppiness;
105  double mySurgeDepth;
117 
118  double myFogHeight;
124 
126  };
127 
130 
133 
134 
137 
140  {
141  public:
143  makVrv::DtStateViewCollection<DtVrlinkSimulatedWeatherState>(de, makVrv::DtSimEntryUpdater::NoUpdates)
144  {
145  }
146  };
147 }
Contains makVrv::DtStateViewCollection class.
The IGI Message.
Definition: DtMessage.h:33
DT_DLL_VRFGUICORE makVrv::DtMessage & operator<<(makVrv::DtMessage &msg, const DtVrlinkNetworkUpdateSimulatedAggregateState &state)
Encode a DtVrlinkSimulatedEnvironmentState into a DtMessage.
DtWeatherStateViewCollection(makVrv::DtDe &de)
Definition: vrlinkSimulatedWeatherState.h:142
Contains makVrv::DtStateView class.
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
makVrv::DtStateView< DtVrlinkSimulatedWeatherState > DtWeatherStateView
Create a DtStateView templated on DtVrlinkSimulatedWeatherState.
Definition: vrlinkSimulatedWeatherState.h:136
Collection of VRF Weather specific state data. Use this state view to get information for Weather dat...
Definition: vrlinkSimulatedWeatherState.h:139
A DtStateView is a the interface to simulation state information.
Definition: DtStateView.h:52
A DtStateViewCollection is a collection of DtStateViews of a specific state.
Definition: DtStateViewCollection.h:27
A DtSimState is the base class for all state objects.
Definition: DtSimState.h:22
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
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 Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)