VR-Forces 4.0.4 Class Documentation
include/vrvCoreQt/DtEnvironmentInterface.h
Go to the documentation of this file.
00001 /*****************************************************************************
00002  * Copyright (c) 2011 MAK Technologies, Inc.
00003  * All rights reserved.
00004  *****************************************************************************/
00005 /*****************************************************************************
00006  * $RCSfile: DtEnvironmentInterface.h,v $ $Revision: 1.8 $ $State: Exp $
00007  *****************************************************************************/
00008 
00012 
00013 #pragma once
00014 
00015 #include <vrvCoreQt/vrvCoreQt.h>
00016 
00017 #include <string>
00018 
00019 class QString;
00020 
00021 namespace makArchives
00022 {
00023    class DtCloudLayerRecord;
00024 }
00025 
00026 namespace makVrv
00027 {
00028 
00029    class DtUnicode;
00030 
00033    class DT_DLL_VRVCOREQT DtEnvironmentInterface
00034    {
00035    public:
00036 
00037       virtual void setListenToRemoteWeather( bool listen ) = 0;
00038 
00039       virtual void setRefreshButtonEnabled( bool enabled ) = 0;
00040 
00041       virtual void addCloudLayer( QString type, QString xLocation,
00042          QString yLocation, QString altitude, bool enabled ) = 0;
00043 
00044       virtual void removeAllCloudLayers() = 0;
00045 
00046       virtual void removeCloudLayer( int index ) = 0;
00047       virtual void setCloudLayerEnabled( unsigned int index, bool enabled ) = 0;
00048 
00049       virtual void setPrecipitationEnabled(bool enabledFlag) = 0;
00050       virtual void setPrecipitationType(const std::string& type) = 0;
00051       virtual void setPrecipitationIntensity(float intensity) = 0;
00052 
00053       virtual void setTurbidity(float value) = 0;
00054       virtual void setVisibleDistance( float distance ) = 0;
00055       virtual void setVisibleDistanceDecimals( int decimals ) = 0;
00056       virtual void setVisibleDistanceUnits( const DtUnicode& units ) = 0;
00057 
00058       virtual void setAxisLabels( const DtUnicode& x,
00059          const DtUnicode& y, const DtUnicode& z ) = 0;
00060 
00061       virtual void queryUserForNewCloudLayer() = 0;
00062 
00063       virtual void queryUserToEditCloudLayer( int index ) = 0;
00064 
00065       //Signals when the user changes the "Listen to Remote env settings"
00066       //preference
00067       boost::signal<void (bool)> signal_remoteSettingsChanged;
00068       //Signals when the user requests to refresh the remote settings
00069       boost::signal<void ()> signal_refreshRemoteSettings;
00070 
00071       //Signals when the user requests to add a new cloud layer.
00072       boost::signal<void ()> signal_newCloudLayer;
00073       //Signals when the user requests to delete the selected cloud layer.
00074       boost::signal<void (int index)> signal_deleteCloudLayer;
00075       //Signals when the user requests to edit the selected cloud layer.
00076       boost::signal<void (int index)> signal_editCloudLayer;
00077 
00078       //Signals when the user requests to create a cloud layer.
00079       boost::signal<void (const makArchives::DtCloudLayerRecord& type)> signal_createCloudLayer;
00080 
00081       //Signal for when whether a cloud layer enable state has been changed by the user.
00082       boost::signal<void (unsigned int index,bool enabled)> signal_cloudLayerEnableChanged;
00083 
00084       //Signal for when the user has edited a cloud layer
00085       boost::signal<void (int index, const makArchives::DtCloudLayerRecord& cloudRec)> signal_cloudLayerEdited;
00086 
00087       //Signal for when the precipitation enabled state changes.
00088       boost::signal<void (float)> signal_turbidityChanged;
00089 
00090       //Signal for when the precipitation enabled state changes.
00091       boost::signal<void (float)> signal_visibilityChanged;
00092 
00093       //Signal for when the precipitation enabled state changes.
00094       boost::signal<void (bool enabled)> signal_precipitationEnableChanged;
00095 
00096       //Signal for when the precipitation type changes.
00097       boost::signal<void (const std::string& type)> signal_precipitationTypeChanged;
00098 
00099       //Signal for when the precipitation intensity changes.
00100       boost::signal<void (float intensitys)> signal_precipitationIntensityChanged;
00101 
00102    };
00103 
00104 }

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)