VR-Forces 4.0.4 Class Documentation
include/vrfGuiCoreQt/environmentWeatherInterface.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtVrfEnvironmentInterface.h,v $ $Revision: 1.8 $ $State: Exp $
00007 ******************************************************************************/
00008 
00011 
00013 
00014 #pragma once
00015 
00016 #include <vrvUtil/signalslib.h>
00017 #include <vrfGuiCoreQt/vrfGuiCoreQt.h>
00018 
00019 #include <boost/bind.hpp>
00020 
00021 namespace makVrf
00022 {
00024 
00025    class DT_DLL_VRFGUICOREQT DtEnvironmentWeatherInterface
00026    {
00027 
00028    public:
00029 
00031       virtual void setPrecipitationEnabled(bool enabledFlag) = 0;      
00033       virtual bool precipitationEnabled() = 0;
00034 
00036       virtual void setPrecipitationIntensity(float intensity) = 0;   
00038       virtual float precipitationIntensity() = 0;
00039 
00041       virtual void setPrecipitationType(int type) = 0;
00043       virtual int precipitationType() = 0;
00044       
00046       virtual void setSkyConditions(int state) = 0;
00048       virtual int skyConditions() = 0;      
00049       
00051       virtual void setVisibilityDistance(float distance) = 0;
00053       virtual float visibilityDistance() = 0;
00055       virtual void setMaximumVisibility(float distance) = 0;
00056       
00058       virtual void setWindDirection(float) = 0;
00060       virtual float windDirection() = 0;
00061 
00063       virtual void setWindSpeed(float) = 0;
00065       virtual float windSpeed() = 0;
00066 
00067       //Signal for when the precipitation enabled state changes.
00068       boost::signal<void (bool)> signal_precipitationEnableChanged;
00069 
00070       //Signal for when the precipitation type changes.
00071       boost::signal<void (int)> signal_precipitationTypeChanged;
00072 
00073       //Signal for when the precipitation intensity changes.
00074       boost::signal<void (float)> signal_precipitationIntensityChanged;
00075 
00076       //Signal for when the sky conditions change.
00077       boost::signal<void (int)> signal_skyConditionsChanged;
00078 
00079       //Signal for when the precipitation enabled state changes.
00080       boost::signal<void (float)> signal_visibilityChanged;
00081 
00082       //Signal for when the wind direction changes.
00083       boost::signal<void (float)> signal_windDirectionChanged;
00084 
00085       //Signal for when the wind speed changes.
00086       boost::signal<void (float)> signal_windSpeedChanged;
00087 
00088    };
00089 }

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)