Logic class for the DtVrfEnvironmentConditionsWeatherWidget.
More...
Detailed Description
Constructor & Destructor Documentation
| makVrf::DtVrfEnvironmentConditionsWeatherLogic::DtVrfEnvironmentConditionsWeatherLogic |
( |
makVrv::DtDe & |
de, |
|
|
makVrv::DtEnvironmentInterface & |
environment, |
|
|
makVrv::DtEnvironmentConditionsInterface & |
iface, |
|
|
makVrv::DtPersistenceControlsInterface & |
persistanceIface |
|
) |
| |
| makVrf::DtVrfEnvironmentConditionsWeatherLogic::~DtVrfEnvironmentConditionsWeatherLogic |
( |
| ) |
|
Member Function Documentation
| virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeCloudCover |
( |
DtVrfWeatherCloudState |
cloudCover | ) |
|
|
protectedvirtual |
Handle a change to the cloud cover combo box.
- Parameters
-
| [in] | enumeration | of the cloud state |
| virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeWindSpeed |
( |
double |
speed | ) |
|
|
protectedvirtual |
Handle a change to wind speed.
- Parameters
-
| [in] | name | is the name of the environment condition. |
| [in] | speed | is the speed of the wind (in commanded units). |
| virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeWindDirection |
( |
double |
degree | ) |
|
|
protectedvirtual |
Handle a change to wind direction.
- Parameters
-
| [in] | name | is the name of the environment condition. |
| [in] | degree | is the direction of the wind. |
| virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangePrecipitationType |
( |
int |
type | ) |
|
|
protectedvirtual |
Handle a change to precipitation type.
- Parameters
-
| [in] | name | is the name of the environment condition. |
| [in] | type | is the type of precipitation (None, Rain, Snow). |
| virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangePrecipitationIntensity |
( |
double |
value | ) |
|
|
protectedvirtual |
Handle a change to precipitation intensity.
- Parameters
-
| [in] | name | is the name of the environment condition. |
| [in] | value | is the intensity of precipitation (0.0 - 100.0). |
| virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeVisibility |
( |
double |
distance | ) |
|
|
protectedvirtual |
Handle a change to visibility.
- Parameters
-
| [in] | name | is the name of the environment condition. |
| [in] | distance | is the visible distance (in commanded units). |
| virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeSwellState |
( |
int |
index | ) |
|
|
protectedvirtual |
Handle a change to swell state.
- Parameters
-
| [in] | name | is the name of the environment condition. |
| [in] | index | is the index of the sea-swell. |
| virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeSwellStateDirection |
( |
double |
degree | ) |
|
|
protectedvirtual |
Handle a change to swell state direction.
- Parameters
-
| [in] | name | is the name of the environment condition. |
| [in] | degree | is 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] | name | is the name of the environment condition. |
| [in] | enabled | is the flag for wind-driven sea-state. |
| virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeSeaState |
( |
int |
index | ) |
|
|
protectedvirtual |
Handle a change to sea-state.
- Parameters
-
| [in] | name | is the name of the environment condition. |
| [in] | index | is the index of the sea-state. |
| virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeSeaStateDirection |
( |
double |
degree | ) |
|
|
protectedvirtual |
Handle a change to sea-state direction.
- Parameters
-
| [in] | name | is the name of the environment condition. |
| [in] | degree | is the direction of the sea-state. |
| virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeSeaSurfaceTransparency |
( |
double |
alpha | ) |
|
|
protectedvirtual |
Handle a change to surface transparency.
- Parameters
-
| [in] | name | is the name of the environment condition. |
| [in] | alpha | is 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] | name | is the name of the environment condition. |
| [in] | distance | is the visible distance underwater. |
| virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::onChangeSeaChoppiness |
( |
double |
chop | ) |
|
|
protectedvirtual |
Handle a change to the water surface choppiness.
- Parameters
-
| [in] | name | is the name of the environment condition. |
| [in] | chop | is 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] | name | is the name of the environment condition. |
| [in] | distance | is 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] | name | is the name of the environment condition to select. |
| virtual void makVrf::DtVrfEnvironmentConditionsWeatherLogic::sendChangeGlobalWeatherCommandForCurrentValues |
( |
| ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following file: