VR-Forces 4.1 Class Documentation
environmentWeatherInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include <vrvUtil/signalslib.h>
15 
16 #include <boost/bind.hpp>
17 
18 namespace makVrf
19 {
21 
23  {
24 
25  public:
26 
28  virtual void setPrecipitationEnabled(bool enabledFlag) = 0;
30  virtual bool precipitationEnabled() = 0;
31 
33  virtual void setPrecipitationIntensity(float intensity) = 0;
35  virtual float precipitationIntensity() = 0;
36 
38  virtual void setPrecipitationType(int type) = 0;
40  virtual int precipitationType() = 0;
41 
43  virtual void setSkyConditions(int state) = 0;
45  virtual int skyConditions() = 0;
46 
48  virtual void setVisibilityDistance(float distance) = 0;
49 
51  virtual double visibilityDistance() = 0;
53  virtual void setMaximumVisibility(float distance) = 0;
54  virtual double maximumVisibility() = 0;
55 
57  virtual void setWindDirection(float) = 0;
59  virtual float windDirection() = 0;
60 
62  virtual void setWindSpeed(float) = 0;
64  virtual float windSpeed() = 0;
65 
66  //Signal for when the precipitation enabled state changes.
67  boost::signal<void (bool)> signal_precipitationEnableChanged;
68 
69  //Signal for when the precipitation type changes.
70  boost::signal<void (int)> signal_precipitationTypeChanged;
71 
72  //Signal for when the precipitation intensity changes.
73  boost::signal<void (float)> signal_precipitationIntensityChanged;
74 
75  //Signal for when the sky conditions change.
76  boost::signal<void (int)> signal_skyConditionsChanged;
77 
78  //Signal for when the precipitation enabled state changes.
79  boost::signal<void (float)> signal_visibilityChanged;
80 
81  //Signal for when the wind direction changes.
82  boost::signal<void (float)> signal_windDirectionChanged;
83 
84  //Signal for when the wind speed changes.
85  boost::signal<void (float)> signal_windSpeedChanged;
86 
87  };
88 }

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)