17 #include <vlutil/vlString.h>
18 #include <vlutil/vlList.h>
19 #include <vl/globalObjectDesignator.h>
22 #include <vlpi/metocEnums.h>
25 class DtTroposphereLayerPublisher;
29 class DtTroposphereLayerPublisher;
30 class DtSubsurfaceLayerPublisher;
31 class DtLandSurfacePublisher;
32 class DtWaterSurfacePublisher;
33 class DtServicePublisher;
34 class DtWeatherStateRepository;
35 class DtEnvironmentConditionStateRepository;
48 class DtTroposphereStateComponent;
49 class DtLandSurfaceStateComponent;
50 class DtWaterSurfaceStateComponent;
51 class DtSubsurfaceStateComponent;
85 virtual bool init(
const DtEntityIdentifier&
id = DtEntityIdentifier::nullId());
88 virtual void updatePublisher();
96 virtual void destroyPublisher();
103 virtual void setupRecords();
105 virtual void updateGeometryRecord();
106 virtual void updateWindLayers();
111 virtual void setupMetocPublisher();
113 virtual void metocTick();
116 virtual void updateMetocPublishers();
140 virtual DtCloudTypeEnum32 mapVrvCloudTypeToMetocCloudType(
int)
const;
141 virtual DtCloudTypeEnum32 mapCloudStateToCloudType(
DtVrfWeatherCloudState cloudState,
unsigned altitude)
const;
145 virtual DtPrecipitationTypeEnum32 mapVrfPrecipitationtypeToMetocPrecipitationType(
int vrfPrecipitationType)
const;
147 virtual DtHazeTypeEnum32 mapFogColorToHazeType(
const DtVector& fogColor);
148 virtual DtHazeTypeEnum32 mapObscurantToHazeType(
int obscurant);
150 static float mapSwellStateToSwellHeight(
int state);
151 static float mapSwellStateToSwellLength(
int state);
152 static int mapSwellStateToSwellPeriod(
int state);
154 static float mapSeaStateToWaveHeight(
int state);
155 static float mapSeaStateToWaveLength(
int state);
156 static int mapSeaStateToWavePeriod(
int state);
157 virtual DtGeoLocationTypeEnum32 mapEntityTypeToGeoLocationType(
const DtObjectType& type);
160 virtual DtSubsurfaceLayerPublisher* createAndInitMetocSubsurfacePublisher()
const;
161 virtual DtLandSurfacePublisher* createAndInitMetocLandSurfacePublisher()
const;
162 virtual DtWaterSurfacePublisher* createAndInitMetocWaterSurfacePublisher()
const;
163 virtual DtTroposphereLayerPublisher* createAndInitMetocTropospherePublisher()
const;
164 virtual void initializeMetocStateRep(DtEnvironmentConditionStateRepository* sr)
const;
167 virtual void onTick()
override;
bool mySetMetocGeoreference
Definition: weatherLocalNetInterface.h:175
Contains the DtSimEnvironmentalModelType class declaration.
static DtObjectType theBoxType
Definition: weatherLocalNetInterface.h:178
DtWaterSurfacePublisher * myMetocWaterPublisher
Definition: weatherLocalNetInterface.h:171
Local network interface for weather state objects. These objects must have a DtWeatherStateRepository...
Definition: weatherLocalNetInterface.h:67
std::vector< DtSubsurfaceLayerPublisher * > myMetocSubsurfacePublishers
Definition: weatherLocalNetInterface.h:173
Contains the DtWeatherObjectRepository class declaration.
Definition: surface.h:181
bool allComponentsValid() const
class DtVrlinkNetworkInterface:
Definition: vrlinkNetworkInterface.h:60
static DtObjectType theCircleType
Definition: weatherLocalNetInterface.h:179
Definition: objectType.h:27
const DtSubsurfaceStateComponent * subsurfaceStateComp
Definition: weatherLocalNetInterface.h:58
1) Define the interface class that will be used to represent the next and current frames...
Definition: waterSurfaceStateComponent.h:76
const DtLandSurfaceStateComponent * landSurfaceStateComp
Definition: weatherLocalNetInterface.h:56
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:339
Extends an existing local net interface class to give it the ability to publish extended properties...
Definition: localExtendedPropertiesNetInterface.h:39
Class Description: DtSimObjectNetInterface.
Definition: simObjectNetInterface.h:50
static DtObjectType theAreaType
Definition: weatherLocalNetInterface.h:177
1) Define the interface class that will be used to represent the next and current frames...
Definition: subsurfaceStateComponent.h:103
#define DT_DLL_vrlinkNetworkInterface
This file is used to determine how to build.
Definition: vrlinkNetworkInterfaceDefines.h:24
This class extends DtVrfControlObjectPublisher to support the publishing of VR-Forces state propertie...
Definition: vrfExtControlObjectPublisher.h:16
DtVrfWeatherCloudState
Definition: vrfWeatherStateEnums.h:24
DtLandSurfacePublisher * myMetocSurfacePublisher
Definition: weatherLocalNetInterface.h:170
DtGeoLocationTypeEnum32 myMetocGeoLocationType
Definition: weatherLocalNetInterface.h:176
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
1) Define the interface class that will be used to represent the next and current frames...
Definition: landSurfaceStateComponent.h:86
std::vector< DtTroposphereLayerPublisher * > myMetocTropospherePublishers
Definition: weatherLocalNetInterface.h:172
Definition: weatherLocalNetInterface.h:53
const DtWaterSurfaceStateComponent * waterSurfaceStateComp
Definition: weatherLocalNetInterface.h:57
1) Define the interface class that will be used to represent the next and current frames...
Definition: troposphereStateComponent.h:46
const DtTroposphereStateComponent * troposphereStateComp
Definition: weatherLocalNetInterface.h:55