VR-Forces 4.0.4 Class Documentation
include/vrfGuiCoreQt/vrfEnvironmentInterface.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 DtVrfEnvironmentInterface
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;
00054       
00056       virtual void setWindDirection(float) = 0;
00058       virtual float windDirection() = 0;
00059 
00061       virtual void setWindSpeed(float) = 0;
00063       virtual float windSpeed() = 0;
00064 
00065       //Signal for when the precipitation enabled state changes.
00066       boost::signal<void (bool)> signal_precipitationEnableChanged;
00067 
00068       //Signal for when the precipitation type changes.
00069       boost::signal<void (int)> signal_precipitationTypeChanged;
00070 
00071       //Signal for when the precipitation intensity changes.
00072       boost::signal<void (float)> signal_precipitationIntensityChanged;
00073 
00074       //Signal for when the sky conditions change.
00075       boost::signal<void (int)> signal_skyConditionsChanged;
00076 
00077       //Signal for when the precipitation enabled state changes.
00078       boost::signal<void (float)> signal_visibilityChanged;
00079 
00080       //Signal for when the wind direction changes.
00081       boost::signal<void (float)> signal_windDirectionChanged;
00082 
00083       //Signal for when the wind speed changes.
00084       boost::signal<void (float)> signal_windSpeedChanged;
00085 
00086    };
00087 }

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)