VR-Forces 4.2 Class Documentation
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.
 ~DtVrfEnvironmentConditionsWeatherLogic ()
 DTOR.

Protected Member Functions

virtual void onChangeCloudCover (DtVrfWeatherCloudState cloudCover)
 Handle a change to the cloud cover combo box.
virtual void onChangeWindSpeed (double speed)
 Handle a change to wind speed.
virtual void onChangeWindDirection (double degree)
 Handle a change to wind direction.
virtual void onChangePrecipitationType (int type)
 Handle a change to precipitation type.
virtual void onChangePrecipitationIntensity (double value)
 Handle a change to precipitation intensity.
virtual void onChangeVisibility (double distance)
 Handle a change to visibility.
virtual void onChangeSwellState (int index)
 Handle a change to swell state.
virtual void onChangeSwellStateDirection (double degree)
 Handle a change to swell state direction.
virtual void onEnableWindDrivenSeaState (bool enabled)
 Handle a change to the wind-driven sea-state flag.
virtual void onChangeSeaState (int index)
 Handle a change to sea-state.
virtual void onChangeSeaStateDirection (double degree)
 Handle a change to sea-state direction.
virtual void onChangeSeaSurfaceTransparency (double alpha)
 Handle a change to surface transparency.
virtual void onChangeUnderWaterVisibility (double distance)
 Handle a change to the underwater visibility distance.
virtual void onChangeSeaChoppiness (double chop)
 Handle a change to the water surface choppiness.
virtual void onChangeSurgeDepth (double distance)
 Handle a change to the surge depth.
virtual void onSelectEnvironmentConditions (const makVrv::DtUnicode &name)
 Handle an environment condition selection change.
virtual void sendChangeGlobalWeatherCommandForCurrentValues ()
 Sends a DtChangeGlobalWeatherCommand for all the current values.

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 void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeCloudCover ( DtVrfWeatherCloudState  cloudCover)
protectedvirtual

Handle a change to the cloud cover combo box.

Parameters
[in]enumerationof the cloud state
virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeWindSpeed ( double  speed)
protectedvirtual

Handle a change to wind speed.

Parameters
[in]nameis the name of the environment condition.
[in]speedis the speed of the wind (in commanded units).
virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeWindDirection ( double  degree)
protectedvirtual

Handle a change to wind direction.

Parameters
[in]nameis the name of the environment condition.
[in]degreeis the direction of the wind.
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).
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).
virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeVisibility ( double  distance)
protectedvirtual

Handle a change to visibility.

Parameters
[in]nameis the name of the environment condition.
[in]distanceis the visible distance (in commanded units).
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.
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.
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.
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.
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.
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).
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.
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).
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.
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.
virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::sendChangeGlobalWeatherCommandForCurrentValues ( )
protectedvirtual

Sends a DtChangeGlobalWeatherCommand for all the current values.

Called by onSelectEnvironmentConditions.


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

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)