12 #include <matrix/vlVector.h>
25 : mySnowAccumulation(0.)
26 , myRainAccumulation(0.)
27 , myAmbientAirPressure(0.)
28 , myAmbientAirTemperature(0.)
29 , myAirPressureAltitude(0.)
30 , myAirTemperatureAltitude(0)
31 , mySnowMinimumAltitude(0.)
32 , mySnowRoadAccumulation(0)
33 , myBlowingParticulateMatter(0)
34 , mySeaLevelWaterConcentration(0.)
35 , myLightningPresent(false)
39 , myPrecipitationIntensity(0.)
50 myBlowingParticulateMatter = orig.myBlowingParticulateMatter;
51 mySnowAccumulation = orig.mySnowAccumulation;
52 myRainAccumulation = orig.myRainAccumulation;
53 myAmbientAirPressure = orig.myAmbientAirPressure;
54 myAmbientAirTemperature = orig.myAmbientAirTemperature;
55 myAirPressureAltitude = orig.myAirPressureAltitude;
56 myAirTemperatureAltitude = orig.myAirTemperatureAltitude;
57 mySnowMinimumAltitude = orig.mySnowMinimumAltitude;
58 mySnowRoadAccumulation = orig.mySnowRoadAccumulation;
59 mySeaLevelWaterConcentration = orig.mySeaLevelWaterConcentration;
60 myLightningPresent = orig.myLightningPresent;
61 myFogHeight = orig.myFogHeight;
62 myFogColor = orig.myFogColor;
63 myPriority = orig.myPriority;
64 myPrecipitationIntensity = orig.myPrecipitationIntensity;
65 myPrecipitationType = orig.myPrecipitationType;
125 bool myIsRemoteComponent =
false;
DtVrfWeatherPrecipitationType
Definition: vrfWeatherStateEnums.h:13
Template for the next-frame (writable) portion of a double-buffered state component. Frame-state access is intended for single-threaded use from a controller thread.
Definition: stateComponentImplementationTemplate.h:87
Default creator implementation for a state component type. T_StateComponent is the concrete component...
Definition: stateComponent.h:326
DtLandSurfaceStateComponentData(const DtLandSurfaceStateComponentData &orig)
Definition: landSurfaceStateComponent.h:43
DtStateComponentCreator< DtLandSurfaceStateComponentImplementation > DtLandSurfaceStateComponentCreator
5) Define the creator. This will need to be registered with the REGISTER_STATE_COMPONENT macro in the...
Definition: landSurfaceStateComponent.h:195
#define CURRENTFRAME_ACCESSOR(MemberType, Accessor, MutatorAndMember)
Declares a read-only current-frame accessor (by value). The MutatorAndMember parameter is unused...
Definition: stateComponentImplementationTemplate.h:77
Template that combines a current-frame and next-frame sub-component into a fully double-buffered stat...
Definition: stateComponentImplementationTemplate.h:111
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:513
#define DEFINE_STATE_COMPONENT_TYPE(CreatedComponent)
Macro to define all required static and virtual state component type methods. Place in the public sec...
Definition: stateComponent.h:272
#define NEXTFRAME_ACCESSOR_MUTATOR(MemberType, Accessor, MutatorAndMember)
Declares a public next-frame accessor (by value) and next-frame mutator pair.
Definition: stateComponentImplementationTemplate.h:62
void setIsRemoteComponent(bool b)
Sets whether this component represents state from a remote (networked) entity.
Definition: landSurfaceStateComponent.h:121
Holds land surface environmental state data including precipitation, temperature, air pressure...
Definition: landSurfaceStateComponent.h:22
#define UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR(Type, Member, Set)
Defines an undefined virtual by-value accessor and an undefined virtual setter, both throwing DtUnimp...
Definition: doubleBufferedDataStorage.h:103
Provides write access to the land surface state for the next simulation frame.
Definition: landSurfaceStateComponent.h:129
DtLandSurfaceStateComponentCurrentFrame(DtStateData *sd)
Constructs the current frame wrapper with the given state data storage.
Definition: landSurfaceStateComponent.h:166
Definition: vrfWeatherStateEnums.h:15
DtLandSurfaceStateComponentNextFrame(DtStateData *sd)
Constructs the next frame wrapper with the given state data storage.
Definition: landSurfaceStateComponent.h:134
DtLandSurfaceStateComponentData()
Definition: landSurfaceStateComponent.h:24
Abstract interface for the land surface state component, representing both the next and current frame...
Definition: landSurfaceStateComponent.h:90
#define ACCESSOR_MUTATOR_MEMBER(MemberType, Accessor, MutatorAndMember)
Declares a public accessor (by value and reference), a public mutator, and a protected member field...
Definition: stateComponentImplementationTemplate.h:30
#define DT_DLL_vrfStateData
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfStateDataDefines.h:29
virtual ~DtLandSurfaceStateComponentNextFrame() override
Destructor.
Definition: landSurfaceStateComponent.h:140
Provides read access to the land surface state for the current simulation frame.
Definition: landSurfaceStateComponent.h:161
Contains the DtStateComponent class declaration.
DtLandSurfaceStateComponentData & operator=(const DtLandSurfaceStateComponentData &orig)
Definition: landSurfaceStateComponent.h:48
Base interface for accessing current or next frame state in a double-buffered state component...
Definition: stateComponent.h:354
Template for the current-frame (read-only) view of a double-buffered state component. Exposes promoted current-frame data through read-only accessors.
Definition: stateComponentImplementationTemplate.h:176
Definition: stateComponent.h:100