VR-Forces 4.1.1 Class Documentation
vrfEnvironmentInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtVrfEnvironmentInterface.h,v $ $Revision: 1.8 $ $State: Exp $
7 ******************************************************************************/
8 
11 
13 
14 #pragma once
15 
16 #include <vrvUtil/signalslib.h>
18 
19 #include <boost/bind.hpp>
20 
21 namespace makVrf
22 {
24 
26  {
27 
28  public:
29 
31  virtual void setPrecipitationEnabled(bool enabledFlag) = 0;
33  virtual bool precipitationEnabled() = 0;
34 
36  virtual void setPrecipitationIntensity(float intensity) = 0;
38  virtual float precipitationIntensity() = 0;
39 
41  virtual void setPrecipitationType(int type) = 0;
43  virtual int precipitationType() = 0;
44 
46  virtual void setSkyConditions(int state) = 0;
48  virtual int skyConditions() = 0;
49 
51  virtual void setVisibilityDistance(float distance) = 0;
53  virtual float visibilityDistance() = 0;
54 
56  virtual void setWindDirection(float) = 0;
58  virtual float windDirection() = 0;
59 
61  virtual void setWindSpeed(float) = 0;
63  virtual float windSpeed() = 0;
64 
65  //Signal for when the precipitation enabled state changes.
66  boost::signal<void (bool)> signal_precipitationEnableChanged;
67 
68  //Signal for when the precipitation type changes.
69  boost::signal<void (int)> signal_precipitationTypeChanged;
70 
71  //Signal for when the precipitation intensity changes.
72  boost::signal<void (float)> signal_precipitationIntensityChanged;
73 
74  //Signal for when the sky conditions change.
75  boost::signal<void (int)> signal_skyConditionsChanged;
76 
77  //Signal for when the precipitation enabled state changes.
78  boost::signal<void (float)> signal_visibilityChanged;
79 
80  //Signal for when the wind direction changes.
81  boost::signal<void (float)> signal_windDirectionChanged;
82 
83  //Signal for when the wind speed changes.
84  boost::signal<void (float)> signal_windSpeedChanged;
85 
86  };
87 }

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)