VR-Forces 4.1 Class Documentation
DtWeatherProcessor.h
Go to the documentation of this file.
1 // /******************************************************************************
2 // ** Copyright (c) 2008 MAK Technologies, Inc.
3 // ** All rights reserved.
4 // ******************************************************************************/
5 // /******************************************************************************
6 // ** $RCSfile: DtWeatherProcessor.h,v $ $Revision: 1.4 $ $State: Exp $
7 // ******************************************************************************/
8 
12 
13 #ifndef DT_PROTOCOL_NAMESPACE
14 #error Namespace Protocol Macro DT_PROTOCOL_NAMESPACE not defined.
15 #endif
16 
17 #pragma once
18 
19 #include <vrvVrl/vrvVrl.h>
24 
25 #include <boost/unordered_map.hpp>
26 #include <boost/shared_ptr.hpp>
27 
28 namespace makVrv
29 {
30  class DtSceneEnvironmentalsControllerObjectAgent;
31 
32  namespace DT_PROTOCOL_NAMESPACE
33  {
34  class DtVrlinkEnvironmentalStateListenerInterface;
35  class DtWeatherStateListener;
36 
41  {
42 
43  public:
44 
47 
49  virtual ~DtWeatherProcessor();
50 
51  protected:
52 
54  virtual void slot_environmentalDiscovered(makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkEnvironmentalStateListenerInterface& listener);
55 
57  virtual void slot_environmentalToBeDestroyed(makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkEnvironmentalStateListenerInterface& listener);
58 
61  virtual void slot_airTurbidityChanged(float);
62 
65  virtual void slot_cloudStateChanged(DtVrfWeatherCloudState);
66 
69  virtual void slot_precipitationIntensityChanged(float);
70 
73  virtual void slot_precipitationTypeChanged(DtVrfWeatherPrecipitationType);
74 
77  virtual void slot_visibilityChanged(float);
78 
80  virtual void slot_timeOfDayChanged(float);
81 
84  virtual void slot_timeOfDayAdvancementSpeedChanged(float);
85 
87  virtual void slot_precipitationEnabledChanged(bool value);
88 
91  virtual void slot_windDirectionChanged(float);
92 
95  virtual void slot_windSpeedChanged(float);
96 
99  virtual void slot_forceRefresh();
100 
103  virtual void forceUpdateFromListener( DtWeatherStateListener* wsl );
104  protected:
105 
107  DtSceneEnvironmentalsControllerObjectAgent* myWeatherControllerAgent;
109 
111  {
114  };
115 
116  typedef boost::unordered_map<DtUniqueID, boost::shared_ptr<WeatherListenerData> > WeatherListenerMap;
117 
119 
121  };
122  }
123 }

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)