VR-Forces 4.1.1 Class Documentation
DtEnvironmentInterface.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2011 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 /*****************************************************************************
6  * $RCSfile: DtEnvironmentInterface.h,v $ $Revision: 1.8 $ $State: Exp $
7  *****************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrvCoreQt/vrvCoreQt.h>
16 
17 #include <string>
18 
19 class QString;
20 
21 namespace makArchives
22 {
23  class DtCloudLayerRecord;
24 }
25 
26 namespace makVrv
27 {
28 
29  class DtUnicode;
30 
34  {
35  public:
36 
37  virtual void setListenToRemoteWeather( bool listen ) = 0;
38 
39  virtual void setRefreshButtonEnabled( bool enabled ) = 0;
40 
41  virtual void addCloudLayer( QString type, QString xLocation,
42  QString yLocation, QString altitude, bool enabled ) = 0;
43 
44  virtual void removeAllCloudLayers() = 0;
45 
46  virtual void removeCloudLayer( int index ) = 0;
47  virtual void setCloudLayerEnabled( unsigned int index, bool enabled ) = 0;
48 
49  virtual void setPrecipitationEnabled(bool enabledFlag) = 0;
50  virtual void setPrecipitationType(const std::string& type) = 0;
51  virtual void setPrecipitationIntensity(float intensity) = 0;
52 
53  virtual void setTurbidity(float value) = 0;
54  virtual void setVisibleDistance( float distance ) = 0;
55  virtual void setVisibleDistanceDecimals( int decimals ) = 0;
56  virtual void setVisibleDistanceUnits( const DtUnicode& units ) = 0;
57 
58  virtual void setAxisLabels( const DtUnicode& x,
59  const DtUnicode& y, const DtUnicode& z ) = 0;
60 
61  virtual void queryUserForNewCloudLayer() = 0;
62 
63  virtual void queryUserToEditCloudLayer( int index ) = 0;
64 
65  //Signals when the user changes the "Listen to Remote env settings"
66  //preference
67  boost::signal<void (bool)> signal_remoteSettingsChanged;
68  //Signals when the user requests to refresh the remote settings
69  boost::signal<void ()> signal_refreshRemoteSettings;
70 
71  //Signals when the user requests to add a new cloud layer.
72  boost::signal<void ()> signal_newCloudLayer;
73  //Signals when the user requests to delete the selected cloud layer.
74  boost::signal<void (int index)> signal_deleteCloudLayer;
75  //Signals when the user requests to edit the selected cloud layer.
76  boost::signal<void (int index)> signal_editCloudLayer;
77 
78  //Signals when the user requests to create a cloud layer.
79  boost::signal<void (const makArchives::DtCloudLayerRecord& type)> signal_createCloudLayer;
80 
81  //Signal for when whether a cloud layer enable state has been changed by the user.
82  boost::signal<void (unsigned int index,bool enabled)> signal_cloudLayerEnableChanged;
83 
84  //Signal for when the user has edited a cloud layer
85  boost::signal<void (int index, const makArchives::DtCloudLayerRecord& cloudRec)> signal_cloudLayerEdited;
86 
87  //Signal for when the precipitation enabled state changes.
88  boost::signal<void (float)> signal_turbidityChanged;
89 
90  //Signal for when the precipitation enabled state changes.
91  boost::signal<void (float)> signal_visibilityChanged;
92 
93  //Signal for when the precipitation enabled state changes.
94  boost::signal<void (bool enabled)> signal_precipitationEnableChanged;
95 
96  //Signal for when the precipitation type changes.
97  boost::signal<void (const std::string& type)> signal_precipitationTypeChanged;
98 
99  //Signal for when the precipitation intensity changes.
100  boost::signal<void (float intensitys)> signal_precipitationIntensityChanged;
101 
102  };
103 
104 }

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)