VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrlinkSimulatedCloudLayerState.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 #pragma once
7 
9 #include <vrvCore/DtSimState.h>
10 #include <vrvCore/DtStateView.h>
12 #include <matrix/vlVector.h>
13 
14 namespace makVrv
15 {
16  class DtMessage;
17 }
18 
19 namespace makVrf
20 {
22  {
23 
24  public:
25 
28 
31 
33  {
34  return ((myCloudType == rhs.myCloudType) &&
35  (myCloudAltitude == rhs.myCloudAltitude) &&
36  (myCloudCenter == rhs.myCloudCenter) &&
37  (myEnabled == rhs.myEnabled) &&
38  (myCloudWidth == rhs.myCloudWidth) &&
39  (myCloudLength == rhs.myCloudLength) &&
40  (myCloudThickness == rhs.myCloudThickness) &&
41  (myCornerRadius == rhs.myCornerRadius) &&
42  (myCloudDensity == rhs.myCloudDensity) &&
43  (myLightningPresent == rhs.myLightningPresent));
44  }
45 
47  {
48  return !(*this == rhs);
49  }
50 
51  public:
58  double myCloudWidth;
59  double myCloudLength;
61  bool myEnabled;
62  };
63 
66 
69 
70 
73 
75  class DT_DLL_VRFGUICORE DtCloudLayerStateViewCollection : public makVrv::DtStateViewCollection<DtVrlinkSimulatedCloudLayerState>
76  {
77  public:
79  makVrv::DtStateViewCollection<DtVrlinkSimulatedCloudLayerState>(de, makVrv::DtSimEntryUpdater::NoUpdates)
80  {
81  }
82  };
83 }
Contains makVrv::DtStateViewCollection class.
The IGI Message. Is easily encoded and decoding using stream operators. It also provides validation d...
Definition: DtMessage.h:30
makVrv::DtStateView< DtVrlinkSimulatedCloudLayerState > DtCloudLayerStateView
Create a DtStateView templated on DtVrlinkSimulatedWeatherState.
Definition: vrlinkSimulatedCloudLayerState.h:72
Contains makVrv::DtStateView class.
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
DtCloudLayerStateViewCollection(makVrv::DtDe &de)
Definition: vrlinkSimulatedCloudLayerState.h:78
Collection of VRF Weather specific state data. Use this state view to get information for Weather dat...
Definition: vrlinkSimulatedCloudLayerState.h:75
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
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 Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)