VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vrfEnvironmentConditionsWeatherLogic.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 #include <vrfExtObjects/vrfWeatherStateEnums.h>
15 
17 
18 namespace makVrv
19 {
20  class DtEnvironmentInterface;
21  class DtEnvironmentConditionsInterface;
22 }
23 
24 namespace makVrf
25 {
26  class DtVrfEnvironmentConditionsWeatherInterface;
27 
32  {
33 
34  public:
35 
38  makVrv::DtEnvironmentInterface& environment,
40  makVrv::DtPersistenceControlsInterface& persistanceIface);
41 
44 
45  protected:
48  virtual void onChangeCloudCover(DtVrfWeatherCloudState cloudCover);
49 
53  virtual void onChangeWindSpeed(double speed);
54 
58  virtual void onChangeWindDirection(double degree);
59 
63  virtual void onChangePrecipitationType(int type);
64 
68  virtual void onChangePrecipitationIntensity(double value);
69 
73  virtual void onChangeVisibility(double distance);
74 
78  virtual void onChangeSwellState(int index);
79 
83  virtual void onChangeSwellStateDirection(double degree);
84 
88  virtual void onEnableWindDrivenSeaState(bool enabled);
89 
93  virtual void onChangeSeaState(int index);
94 
98  virtual void onChangeSeaStateDirection(double degree);
99 
103  virtual void onChangeSeaSurfaceTransparency(double alpha);
104 
108  virtual void onChangeUnderWaterVisibility(double distance);
109 
113  virtual void onChangeSeaChoppiness(double chop);
114 
118  virtual void onChangeSurgeDepth(double distance);
119 
122  virtual void onSelectEnvironmentConditions(const makVrv::DtUnicode& name);
123 
126  virtual void sendChangeGlobalWeatherCommandForCurrentValues();
127 
128  virtual void sendEnvironmentToGUI();
129  virtual void onAddEnvironmentConditions(const makVrv::DtUnicode& name);
130  virtual void onRemoveEnvironmentConditions(const makVrv::DtUnicode& name);
131 
132  virtual void sendEnvironmentConditionsToGUI();
133  virtual void updateWeatherConditions();
134  };
135 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)