VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions
makVrf::DtVrfEnvironmentConditionsWeatherLogic Class Reference

Logic class for the DtVrfEnvironmentConditionsWeatherWidget. More...

Inheritance diagram for makVrf::DtVrfEnvironmentConditionsWeatherLogic:
Inheritance graph
[legend]

Public Member Functions

 DtVrfEnvironmentConditionsWeatherLogic (makVrv::DtDe &de, makVrv::DtEnvironmentInterface &environment, makVrv::DtEnvironmentConditionsInterface &iface, makVrv::DtPersistenceControlsInterface &persistanceIface)
 CTOR. More...
 
 ~DtVrfEnvironmentConditionsWeatherLogic ()
 DTOR. More...
 
virtual
makVrv::DtEnvironmentInterface
environment () const
 
- Public Member Functions inherited from makVrv::DtEnvironmentConditionsLogic
 DtEnvironmentConditionsLogic (DtDe &de, DtEnvironmentInterface &environment, DtEnvironmentConditionsInterface &iface, DtPersistenceControlsInterface &persistanceIface)
 CTOR. More...
 
virtual ~DtEnvironmentConditionsLogic ()
 DTOR. More...
 
virtual void connectToInterface ()
 

Protected Member Functions

virtual void updateWeatherConditions (const makArchives::DtEnvironmentRecord &rec)
 
virtual void onChangeLightningPresent (bool lightningPresent)
 Handle a lightning present change. More...
 
virtual void onChangePrecipitationType (int type)
 Handle a change to precipitation type. More...
 
virtual void onChangePrecipitationIntensity (double value)
 Handle a change to precipitation intensity. More...
 
virtual void onChangeAmbientAirTemperature (double value)
 Handle a change to air temperatur. More...
 
virtual void onChangeAmbientAirPressure (double value)
 Handle a change to air pressure. More...
 
virtual void onChangeAirTemperatureAltitude (double value)
 Handle a change to air temperature altitude. More...
 
virtual void onChangeAirPressureAltitude (double value)
 Handle a change to air pressure altitude. More...
 
virtual void onChangeAirTemperatureAltitudeIsSeaLevel (bool value)
 Handle a change to air temperature altitude is sea level flag. More...
 
virtual void onChangeAirPressureAltitudeIsSeaLevel (bool value)
 Handle a change to air temperature altitude is sea level flag. More...
 
virtual void onChangeSeaLevelWaterConcentration (double value)
 Handle a change to sea level water concentration. More...
 
virtual void onChangeSwellState (int index)
 Handle a change to swell state. More...
 
virtual void onChangeSwellStateDirection (double degree)
 Handle a change to swell state direction. More...
 
virtual void onEnableWindDrivenSeaState (bool enabled)
 Handle a change to the wind-driven sea-state flag. More...
 
virtual void onChangeSeaState (int index)
 Handle a change to sea-state. More...
 
virtual void onChangeSeaStateDirection (double degree)
 Handle a change to sea-state direction. More...
 
virtual void onChangeTidalCurrentSpeed (double)
 Handle a change to tidal current-speed. More...
 
virtual void onChangeTidalCurrentDirection (double degree)
 Handle a change to stidal direction. More...
 
virtual void onChangeSeaSurfaceTransparency (double alpha)
 Handle a change to surface transparency. More...
 
virtual void onChangeUnderWaterVisibility (double distance)
 Handle a change to the underwater visibility distance. More...
 
virtual void onChangeSeaChoppiness (double chop)
 Handle a change to the water surface choppiness. More...
 
virtual void onChangeSurgeDepth (double distance)
 Handle a change to the surge depth. More...
 
virtual void onChangeFogHeight (double height)
 Handle a change to the fog height depth. More...
 
virtual void onChangeFogColor (double red, double green, double blue)
 Handle a change to the fog color depth. More...
 
virtual void onChangeGroundSnowAccumulation (double snow)
 Handle a change to the snow accumulation value. More...
 
virtual void onChangeSnowMinimumElevation (double snow)
 Handle a change to the snow minimum altitude value. More...
 
virtual void onChangeRoadSnowAccumulation (double snow)
 Handle a change to the snow road accumulation value. More...
 
virtual void onChangeGroundRainAccumulation (double rain)
 Handle a change to the rain accumulation value. More...
 
virtual void onSelectEnvironmentConditions (const makVrv::DtUnicode &name)
 Handle an environment condition selection change. More...
 
virtual void sendChangeGlobalWeatherCommandForCurrentValues ()
 Sends a DtChangeGlobalWeatherCommand for all the current values. More...
 
virtual void ambientAirTemperatureChanged (float)
 
virtual void ambientAirPressureChanged (float)
 
virtual void airTemperatureAltitudeChanged (float)
 
virtual void airPressureAltitudeChanged (float)
 
virtual void airTemperatureAltitudeIsSeaLevelChanged (bool)
 
virtual void airPressureAltitudeIsSeaLevelChanged (bool)
 
virtual void seaLevelWaterConcentrationChanged (float)
 
virtual void sendEnvironmentToGUI (bool initialSettings)
 Populate the widget with current environment settings. More...
 
virtual void onAddEnvironmentConditions (const makVrv::DtUnicode &name)
 Handle when a new environment condition is added. More...
 
virtual void onRemoveEnvironmentConditions (const makVrv::DtUnicode &name)
 Handle when a environment condition should be removed. More...
 
virtual void onAddElevationalWind ()
 Handle a creation of an elevational wind configuration. More...
 
virtual void onRemoveElevationalWind (float altitude)
 Handle a deletion of an elevational wind configuration by its base MSL altitude, in thousands of feet. More...
 
virtual void onUpdateElevationalConfiguration (float baseMSLAltitude, float windSpeed, float windDirection, float visibilityDistance, makVrv::DtEnvironmentInterface::VisibilityObscurant obscurant, makVrv::DtEnvironmentInterface::CloudType cloudType, float cloudDensity, int skyCoverage)
 Handle an update of an elevational wind configuration. More...
 
virtual void onElevationalConfigurationAltitudeChanged (float newAltitude, float oldAltitude)
 Handle an update to a wind configuration's base MSL altitude, in thousands of feet. More...
 
virtual void sendEnvironmentConditionsToGUI ()
 
virtual void updateWeatherConditions ()
 
virtual void sendElevationLevels ()
 
virtual void displayUnitsChanged ()
 Handle a change to displayed units. More...
 
virtual void elevationalConfigurationAdded (makVrv::DtEnvironmentInterface::DtElevationalConfigurationRecord rec) override
 Handle an addition of an elevational configuration. More...
 
virtual void elevationalConfigurationUpdated (makVrv::DtEnvironmentInterface::DtElevationalConfigurationRecord rec) override
 Handle an update to an elevational configuration. More...
 
- Protected Member Functions inherited from makVrv::DtEnvironmentConditionsLogic
virtual void onChangeSnowElevationTransition (double elevation)
 Handle a change in the ground snow minimum elevation Changes from the environment widget. More...
 
virtual void sendRemoteWeatherToGUI ()
 Populate the widget with remote weather settings. More...
 
virtual void sendPersistenceToGUI ()
 Populate the widget with persistence settings. More...
 
virtual void blockEnvironmentSignals (bool blocked)
 Dynamically blocks or unblocks signals from DtEnvironmentSignaler. More...
 
virtual void on_import ()
 Handle a request to import the environment from a configuration file. More...
 
virtual void on_export ()
 Handle a request to export the current environment to a configuration file. More...
 
virtual void importSettings (const std::string &file)
 Import the environment from a configuration file. More...
 
virtual void exportSettings (const std::string &file)
 Export the current environment to a configuration file. More...
 
virtual void restoreDefaultSettings ()
 Handle a request to restore the environment previous settings. More...
 
virtual void restoreFactorySettings ()
 Handle a request to restore the environment to factory settings. More...
 
virtual void sceneCreated ()
 Handle if the scene (and thus environment) has been created (or re-created) More...
 
virtual void atmosphericParametersChanged ()
 Handle any atmospheric change. More...
 
virtual void precipitationSettingsChanged ()
 Handle any precipitation change. More...
 
virtual void groundSnowAccumulationChanged ()
 Handle a change in the ground snow accumulation depth Changes are driven from the simulation/environment. More...
 
virtual void roadSnowAccumulationChanged ()
 Handle a change in the road snow accumulation depth Changes are driven from the simulation/environment. More...
 
virtual void snowMinimumElevationChanged ()
 Handle a change in the snow minimum elevation Changes are driven from the simulation/environment. More...
 
virtual void snowElevationTransitionChanged ()
 Handle a change in the ground elvation transition Changes are driven from the simulation/environment. More...
 
virtual void groundRainAccumulationChanged ()
 Handle a change in the ground rain accumulation depth Changes are driven from the simulation/environment. More...
 
virtual void fogHeightChanged (float altitude)
 Handle a change to fog ceiling height. More...
 
virtual void fogColorChanged (const DtVector &color)
 Handle a change to fog color. More...
 
virtual void elevationalConfigurationRemoved (float baseMSLAltitude)
 Handle a removal of an elevational configuration. More...
 
virtual void elevationalConfigurationMoved (float oldBaseMSLAltitude, float newBaseMSLAltitude)
 Handle a change in base MSL altitude of an elevational configuration. More...
 
virtual void seaStateChanged (unsigned int state)
 Handle a change to sea state. More...
 
virtual void seaStateDirectionChanged (float radians)
 Handle a change to sea state direction. More...
 
virtual void windDrivenSeaStateChanged (bool enabled)
 Handle a change to the wind-driven sea state flag. More...
 
virtual void swellStateChanged (unsigned int state)
 Handle a change to swell state. More...
 
virtual void swellStateDirectionChanged (float radians)
 Handle a change to swell state direction. More...
 
virtual void windFetchChanged (float distance)
 Handle a change to wind fetch. More...
 
virtual void seaChoppinessChanged (float chop)
 Handle a change to sea choppiness. More...
 
virtual void underwaterVisibilityEnabledChanged (bool enable)
 Handle a change to whether underwater visibility is used Changes are driven from the simulation/environment. More...
 
virtual void underwaterVisibilityChanged (double distance)
 Handle a change to underwater visibility. More...
 
virtual void waterSurfaceTransparencyChanged (double transparency)
 Handle a change to coastal-water transparency. More...
 
virtual void surgeDepthChanged (double depth)
 Handle a change to surge depth. More...
 
virtual void depthOffsetChanged (double offset)
 Handle a change to the depth offset. More...
 
virtual void tidalCurrentSpeedChanged (double speed)
 Changes are driven from the simulation/environment. More...
 
virtual void tidalCurrentDirectionChanged (double direction)
 Changes are driven from the simulation/environment. More...
 
virtual void onSaveEnvironmentConditions (const DtUnicode &name)
 Handle when the current environment condition should be saved. More...
 
virtual void onSetDefaultEnvironmentConditions (const DtUnicode &name)
 Handle when a default environment condition should be set. More...
 
virtual void onAddElevationalConfiguration ()
 Handle a creation of an elevational configuration. More...
 
virtual void onRemoveElevationalConfiguration (float altitude)
 Handle a deletion of an elevational configuration by its base MSL altitude, in feet. More...
 
virtual void onChangeUnderWaterVisibilityEnabled (bool enable)
 Handle a change to the underwater visibility enabled state. More...
 
virtual void onChangeWindFetch (double distance)
 Handle a change to the ocean fetch. More...
 
virtual void onChangeDepthOffset (double offset)
 Handle a change to the depth offset. More...
 
virtual void onChangeRemoteSettings (bool enable)
 
virtual void onRequestRemoteSettings ()
 Handle a request for remote weather update. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from makVrv::DtEnvironmentConditionsLogic
static float convertBaseMSLAltitudeWidgetDisplayToNative (float displayAltitude)
 Converts the provided altitude from the unit of measurement used by the Environment Conditions Widget for elevational configurations' base MSL altitude, which is Feet, to Meters. More...
 
static float convertBaseMSLAltitudeNativeToWidgetDisplay (float nativeAltitude)
 Converts the provided altitude from Meters to the unit of measurement used by the Environment Conditions Widget for elevational configurations' base MSL altitude, which is Feet. More...
 
static float convertWindSpeedWidgetDisplayToNative (DtDe &de, float displayWindSpeed)
 Converts the provided wind speed from the unit of measurement used by the Environment Conditions Widget for elevational configurations' wind speed, which is whatever is set for the 'Weather'/'Wind Speed' display unit, to Meters Per Second. More...
 
static float convertWindSpeedNativeToWidgetDisplay (DtDe &de, float nativeWindSpeed)
 Converts the provided wind speed from Meters Per Second to the unit of measurement used by the Environment Conditions Widget for elevational configurations' wind speed, which is whatever is set for the 'Weather'/'Wind Speed' display unit. More...
 
static float convertWindDirectionWidgetDisplayToNative (float displayWindSpeed)
 Converts the provided wind direction from the unit of measurement used by the Environment Conditions Widget for elevational configurations' wind direction, which is degrees, to radians. More...
 
static float convertWindDirectionNativeToWidgetDisplay (float nativeWindSpeed)
 Converts the provided wind direction from radians to the unit of measurement used by the Environment Conditions Widget for elevational configurations' wind direction, which is degrees. More...
 
static float convertVisibilityDistanceWidgetDisplayToNative (DtDe &de, float displayVisibilityDistance)
 Converts the provided visibility distance from the unit of measurement used by the Environment Conditions Widget for elevational configurations' visibility distance, which is whatever is set for the 'Weather'/'Visibility' display unit, to Meters. More...
 
static float convertVisibilityDistanceNativeToWidgetDisplay (DtDe &de, float nativeVisibilityDistance)
 Converts the provided visibility distance from Meters to the unit of measurement used by the Environment Conditions Widget for elevational configurations' visibility distance, which is whatever is set for the 'Weather'/'Visibility' display unit. More...
 
static float convertSkyCoverageWidgetDisplayToNative (float displaySkyCoverage)
 Converts the provided numerical value expressing sky coverage, in non-normalized Oktas (0-8), to normalized Oktas which is what VR-Vantage uses when processing sky coverage. More...
 
static float convertSkyCoverageNativeToWidgetDisplay (float nativeSkyCoverage)
 Converts the provided numerical value expressing sky coverage, in normalized Oktas (0-1), to non-normalized Oktas for display by the Environment Conditions Widget for elevational configurations' sky coverage. More...
 
static
DtEnvironmentConditionsInterface::DtUnicodeList 
globalCloudTypesOnly (DtEnvironmentConditionsInterface::DtUnicodeList listToSubset)
 
static
DtEnvironmentConditionsInterface::DtUnicodeList 
localCloudTypesOnly (DtEnvironmentConditionsInterface::DtUnicodeList listToSubset)
 
static void setNonVrvVisualizableElevationalConfigurationColumnsEditState (DtEnvironmentConditionsInterface *inter, float baseMSLAltitude, bool isEditable)
 Utility function to set the Non-VRV visualizable configurations editable state. More...
 
- Static Public Attributes inherited from makVrv::DtEnvironmentConditionsLogic
static const
DtEnvironmentConditionsInterface::DtUnicodeList 
CloudTypeNames
 
- Protected Attributes inherited from makVrv::DtEnvironmentConditionsLogic
DtDemyDe
 
DtSignalConnectionManager mySignals
 
DtSignalConnectionManager myEnvironmentSignals
 
DtEnvironmentInterfacemyEnvironment
 
DtEnvironmentConditionsInterfacemyInterface
 
DtPersistenceControlsInterfacemyPersistenceInterface
 

Detailed Description

Logic class for the DtVrfEnvironmentConditionsWeatherWidget.

Constructor & Destructor Documentation

makVrf::DtVrfEnvironmentConditionsWeatherLogic::DtVrfEnvironmentConditionsWeatherLogic ( makVrv::DtDe de,
makVrv::DtEnvironmentInterface environment,
makVrv::DtEnvironmentConditionsInterface iface,
makVrv::DtPersistenceControlsInterface persistanceIface 
)

CTOR.

makVrf::DtVrfEnvironmentConditionsWeatherLogic::~DtVrfEnvironmentConditionsWeatherLogic ( )

DTOR.

Member Function Documentation

virtual makVrv::DtEnvironmentInterface* makVrf::DtVrfEnvironmentConditionsWeatherLogic::environment ( ) const
inlinevirtual
virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::updateWeatherConditions ( const makArchives::DtEnvironmentRecord rec)
protectedvirtual
virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeLightningPresent ( bool  lightningPresent)
protectedvirtual

Handle a lightning present change.

Changes from the environment widget

Parameters
[in]whetheror not lightning is present or not

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangePrecipitationType ( int  type)
protectedvirtual

Handle a change to precipitation type.

Parameters
[in]nameis the name of the environment condition.
[in]typeis the type of precipitation (None, Rain, Snow).

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangePrecipitationIntensity ( double  value)
protectedvirtual

Handle a change to precipitation intensity.

Parameters
[in]nameis the name of the environment condition.
[in]valueis the intensity of precipitation (0.0 - 100.0).

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeAmbientAirTemperature ( double  value)
protectedvirtual

Handle a change to air temperatur.

Parameters
[in]valueis the air temperature in celsius
virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeAmbientAirPressure ( double  value)
protectedvirtual

Handle a change to air pressure.

Parameters
[in]valueis the air pressure in Pascals
virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeAirTemperatureAltitude ( double  value)
protectedvirtual

Handle a change to air temperature altitude.

Parameters
[in]valueis the air temperature altitude in meters
virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeAirPressureAltitude ( double  value)
protectedvirtual

Handle a change to air pressure altitude.

Parameters
[in]valueis the air pressure altitude in meters
virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeAirTemperatureAltitudeIsSeaLevel ( bool  value)
protectedvirtual

Handle a change to air temperature altitude is sea level flag.

Parameters
[in]valuedefines if the air temperature altitude is relative to sea level
virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeAirPressureAltitudeIsSeaLevel ( bool  value)
protectedvirtual

Handle a change to air temperature altitude is sea level flag.

Parameters
[in]valuedefines if the air pressure altitude is relative to sea level
virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeSeaLevelWaterConcentration ( double  value)
protectedvirtual

Handle a change to sea level water concentration.

Parameters
[in]valueis the sea level water concentration in PPMV (parts per million by volume)
virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeSwellState ( int  index)
protectedvirtual

Handle a change to swell state.

Parameters
[in]nameis the name of the environment condition.
[in]indexis the index of the sea-swell.

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeSwellStateDirection ( double  degree)
protectedvirtual

Handle a change to swell state direction.

Parameters
[in]nameis the name of the environment condition.
[in]degreeis the direction of the sea-swell.

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onEnableWindDrivenSeaState ( bool  enabled)
protectedvirtual

Handle a change to the wind-driven sea-state flag.

Parameters
[in]nameis the name of the environment condition.
[in]enabledis the flag for wind-driven sea-state.

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeSeaState ( int  index)
protectedvirtual

Handle a change to sea-state.

Parameters
[in]nameis the name of the environment condition.
[in]indexis the index of the sea-state.

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeSeaStateDirection ( double  degree)
protectedvirtual

Handle a change to sea-state direction.

Parameters
[in]nameis the name of the environment condition.
[in]degreeis the direction of the sea-state.

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeTidalCurrentSpeed ( double  )
protectedvirtual

Handle a change to tidal current-speed.

Parameters
[in]nameis the name of the environment condition.
[in]speedis the speed (m/s) of the tidal speed

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeTidalCurrentDirection ( double  degree)
protectedvirtual

Handle a change to stidal direction.

Parameters
[in]nameis the name of the environment condition.
[in]degreeis the direction of the tide.

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeSeaSurfaceTransparency ( double  alpha)
protectedvirtual

Handle a change to surface transparency.

Parameters
[in]nameis the name of the environment condition.
[in]alphais the amount of alpha for the sea-surface (0.0 - 1.0).

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeUnderWaterVisibility ( double  distance)
protectedvirtual

Handle a change to the underwater visibility distance.

Parameters
[in]nameis the name of the environment condition.
[in]distanceis the visible distance underwater.

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeSeaChoppiness ( double  chop)
protectedvirtual

Handle a change to the water surface choppiness.

Parameters
[in]nameis the name of the environment condition.
[in]chopis the amount of choppiness (0.0 - 1.0).

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeSurgeDepth ( double  distance)
protectedvirtual

Handle a change to the surge depth.

Parameters
[in]nameis the name of the environment condition.
[in]distanceis the is the distance for surge depth.

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeFogHeight ( double  height)
protectedvirtual

Handle a change to the fog height depth.

Parameters
[in]distanceis the is the distance for fog height.

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeFogColor ( double  red,
double  green,
double  blue 
)
protectedvirtual

Handle a change to the fog color depth.

Parameters
[in]newfog color

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeGroundSnowAccumulation ( double  snow)
protectedvirtual

Handle a change to the snow accumulation value.

Parameters
[in]snowis the altitude of the accumulation.

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeSnowMinimumElevation ( double  snow)
protectedvirtual

Handle a change to the snow minimum altitude value.

Parameters
[in]snowis the minimum altitude.

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeRoadSnowAccumulation ( double  snow)
protectedvirtual

Handle a change to the snow road accumulation value.

Parameters
[in]snowis the altitude of the road accumulation.

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeGroundRainAccumulation ( double  rain)
protectedvirtual

Handle a change to the rain accumulation value.

Parameters
[in]rainis the altitude of the accumulation.

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onSelectEnvironmentConditions ( const makVrv::DtUnicode name)
protectedvirtual

Handle an environment condition selection change.

Parameters
[in]nameis the name of the environment condition to select.

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::sendChangeGlobalWeatherCommandForCurrentValues ( )
protectedvirtual

Sends a DtChangeGlobalWeatherCommand for all the current values.

Called by onSelectEnvironmentConditions.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::ambientAirTemperatureChanged ( float  )
protectedvirtual
virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::ambientAirPressureChanged ( float  )
protectedvirtual
virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::airTemperatureAltitudeChanged ( float  )
protectedvirtual
virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::airPressureAltitudeChanged ( float  )
protectedvirtual
virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::airTemperatureAltitudeIsSeaLevelChanged ( bool  )
protectedvirtual
virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::airPressureAltitudeIsSeaLevelChanged ( bool  )
protectedvirtual
virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::seaLevelWaterConcentrationChanged ( float  )
protectedvirtual
virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::sendEnvironmentToGUI ( bool  initialSettings)
protectedvirtual

Populate the widget with current environment settings.

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onAddEnvironmentConditions ( const makVrv::DtUnicode name)
protectedvirtual

Handle when a new environment condition is added.

Parameters
[in]nameis the name of the environment condition to add.
Note
Adding a new condition does not automatically select it.

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onRemoveEnvironmentConditions ( const makVrv::DtUnicode name)
protectedvirtual

Handle when a environment condition should be removed.

Parameters
[in]nameis the name of the environment condition to remove.

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onAddElevationalWind ( )
protectedvirtual

Handle a creation of an elevational wind configuration.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onRemoveElevationalWind ( float  altitude)
protectedvirtual

Handle a deletion of an elevational wind configuration by its base MSL altitude, in thousands of feet.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onUpdateElevationalConfiguration ( float  baseMSLAltitude,
float  windSpeed,
float  windDirection,
float  visibilityDistance,
makVrv::DtEnvironmentInterface::VisibilityObscurant  obscurant,
makVrv::DtEnvironmentInterface::CloudType  cloudType,
float  cloudDensity,
int  skyCoverage 
)
protectedvirtual

Handle an update of an elevational wind configuration.

The base MSL altitude is in thousands of feet. The wind speed is in knots. The wind direction is in degree from True North (clockwise).

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onElevationalConfigurationAltitudeChanged ( float  newAltitude,
float  oldAltitude 
)
protectedvirtual

Handle an update to a wind configuration's base MSL altitude, in thousands of feet.

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::sendEnvironmentConditionsToGUI ( )
protectedvirtual
virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::updateWeatherConditions ( )
protectedvirtual
virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::sendElevationLevels ( )
protectedvirtual
virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::displayUnitsChanged ( )
protectedvirtual

Handle a change to displayed units.

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::elevationalConfigurationAdded ( makVrv::DtEnvironmentInterface::DtElevationalConfigurationRecord  rec)
overrideprotectedvirtual

Handle an addition of an elevational configuration.

Changes are driven from the simulation/environment.

Parameters
[in]baseMSLAltitudeThe MSL altitude, in meters, associated the elevational configuration being updated
[in]speedis the speed of the wind, in meters per second.
inv]radians is the direction in radians clockwise from true north.

Reimplemented from makVrv::DtEnvironmentConditionsLogic.

virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::elevationalConfigurationUpdated ( makVrv::DtEnvironmentInterface::DtElevationalConfigurationRecord  rec)
overrideprotectedvirtual

Handle an update to an elevational configuration.

Changes are driven from the simulation/environment.

Parameters
[in]baseMSLAltitudeThe MSL altitude, in meters, associated the elevational configuration being updated
[in]speedis the speed of the wind, in meters per second.
inv]radians is the direction in radians clockwise from true north.

Reimplemented from makVrv::DtEnvironmentConditionsLogic.


The documentation for this class was generated from the following file:

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)