VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfGuiCore
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
>
13
#include <
vrvCore/DtStateViewCollection.h
>
14
#include <matrix/vlVector.h>
15
16
namespace
makVrv
17
{
18
class
DtMessage;
19
}
20
21
namespace
makVrf
22
{
23
struct
DT_DLL_VRFGUICORE
DtVrlinkSimulatedWeatherState
:
public
makVrv::DtSimState
24
{
25
26
public
:
27
29
DtVrlinkSimulatedWeatherState
();
30
32
virtual
~
DtVrlinkSimulatedWeatherState
();
33
34
bool
operator==
(
const
DtVrlinkSimulatedWeatherState
& rhs)
const
35
{
36
return
((myAirTurbidity == rhs.
myAirTurbidity
) &&
37
(mySurgeDepth == rhs.
mySurgeDepth
) &&
38
(myFogHeight == rhs.
myFogHeight
) &&
39
(myFogColor == rhs.
myFogColor
) &&
40
(myChoppiness == rhs.
myChoppiness
) &&
41
(mySwellStateDirection == rhs.
mySwellStateDirection
) &&
42
(myPriority == rhs.
myPriority
) &&
43
(myThermoclineLayer1Depth == rhs.
myThermoclineLayer1Depth
) &&
44
(myThermoclineLayer1Permeability == rhs.
myThermoclineLayer1Permeability
) &&
45
(myThermoclineLayer2Depth == rhs.
myThermoclineLayer2Depth
) &&
46
(myThermoclineLayer2Permeability == rhs.
myThermoclineLayer2Permeability
) &&
47
(myThermoclineLayer3Depth == rhs.
myThermoclineLayer3Depth
) &&
48
(myThermoclineLayer3Permeability == rhs.
myThermoclineLayer3Permeability
) &&
49
(myThermoclineLayer4Depth == rhs.
myThermoclineLayer4Depth
) &&
50
(myThermoclineLayer4Permeability == rhs.
myThermoclineLayer4Permeability
) &&
51
(myThermoclineLayer5Depth == rhs.
myThermoclineLayer5Depth
) &&
52
(myThermoclineLayer5Permeability == rhs.
myThermoclineLayer5Permeability
) &&
53
(mySwellState == rhs.
mySwellState
) &&
54
(myWindDrivenSeaStateEnabled == rhs.
myWindDrivenSeaStateEnabled
) &&
55
(mySeaStateDirection == rhs.
mySeaStateDirection
) &&
56
(mySeaState == rhs.
mySeaState
) &&
57
(myTidalDirection == rhs.
myTidalDirection
) &&
58
(myTidalOffset == rhs.
myTidalOffset
) &&
59
(myAmbientWaterTemperature == rhs.
myAmbientWaterTemperature
) &&
60
(myWaterCurrentDirection == rhs.
myWaterCurrentDirection
) &&
61
(myWaterCurrentSpeed == rhs.
myWaterCurrentSpeed
) &&
62
(mySurfaceTransparency == rhs.
mySurfaceTransparency
) &&
63
(myUnderwaterVisibility == rhs.
myUnderwaterVisibility
) &&
64
(myAmbientAirTemperature == rhs.
myAmbientAirTemperature
) &&
65
(myWindSpeed == rhs.
myWindSpeed
) &&
66
(myWindDirection == rhs.
myWindDirection
) &&
67
(myVisibility == rhs.
myVisibility
) &&
68
(myPrecipitationType == rhs.
myPrecipitationType
) &&
69
(myPrecipitationIntensity == rhs.
myPrecipitationIntensity
) &&
70
(myCloudState == rhs.
myCloudState
));
71
}
72
73
bool
operator!=
(
const
DtVrlinkSimulatedWeatherState
& rhs)
const
74
{
75
return
!(*
this
== rhs);
76
}
77
78
public
:
79
double
myAirTurbidity
;
80
unsigned
int
myCloudState
;
81
double
myPrecipitationIntensity
;
82
unsigned
int
myPrecipitationType
;
83
double
myVisibility
;
84
double
myWindDirection
;
85
double
myWindSpeed
;
86
double
myAmbientAirTemperature
;
87
double
myUnderwaterVisibility
;
88
double
mySurfaceTransparency
;
89
double
myWaterCurrentSpeed
;
90
double
myWaterCurrentDirection
;
91
double
myAmbientWaterTemperature
;
92
double
myTidalOffset
;
93
bool
myTidalDirection
;
94
int
mySeaState
;
95
double
mySeaStateDirection
;
96
bool
myWindDrivenSeaStateEnabled
;
97
unsigned
int
mySwellState
;
98
double
mySwellStateDirection
;
99
double
myChoppiness
;
100
double
mySurgeDepth
;
101
double
myThermoclineLayer1Depth
;
102
double
myThermoclineLayer1Permeability
;
103
double
myThermoclineLayer2Depth
;
104
double
myThermoclineLayer2Permeability
;
105
double
myThermoclineLayer3Depth
;
106
double
myThermoclineLayer3Permeability
;
107
double
myThermoclineLayer4Depth
;
108
double
myThermoclineLayer4Permeability
;
109
double
myThermoclineLayer5Depth
;
110
double
myThermoclineLayer5Permeability
;
111
112
double
myFogHeight
;
113
DtVector
myFogColor
;
114
int
myPriority
;
115
};
116
118
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator<<
(
makVrv::DtMessage
& msg,
const
DtVrlinkSimulatedWeatherState
& state );
119
121
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator>>
(
makVrv::DtMessage
& msg,
DtVrlinkSimulatedWeatherState
& state );
122
123
125
typedef
makVrv::DtStateView<DtVrlinkSimulatedWeatherState>
DtWeatherStateView
;
126
128
class
DT_DLL_VRFGUICORE
DtWeatherStateViewCollection
:
public
makVrv::DtStateViewCollection
<DtVrlinkSimulatedWeatherState>
129
{
130
public
:
131
DtWeatherStateViewCollection
(
makVrv::DtDe
& de) :
132
makVrv::DtStateViewCollection<
DtVrlinkSimulatedWeatherState
>(de, makVrv::DtSimEntryUpdater::NoUpdates)
133
{
134
}
135
};
136
}
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)