VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
myWeatherStateProvider.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 
11 {
12 public:
13 
14  //constructor
16 
17  //destructor
18  virtual ~MyWeatherStateProvider();
19 
20  virtual double airTemperature(const DtVector& localPosition) const;
21 
22 public:
23 
24  //Creator function to be registered with the DtWeatherStateFactory --
25  //see main.cxx
26  static DtWeatherStateProvider* create(const DtSimulationServices* simMgr);
27 
28 };
static DtWeatherStateProvider * create(const DtSimulationServices *simMgr)
Definition: myWeatherStateProvider.h:10
This class contains the functions that the VRF simulation uses to query the current state of the weat...
Definition: weatherStateProvider.h:186
virtual ~MyWeatherStateProvider()
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:95
MyWeatherStateProvider(const DtSimulationServices *simManager)
virtual const DtSimulationServices * simManager() const
virtual double airTemperature(const DtVector &localPosition) const
Air temperature in degrees C at the given 3D location. In the default implementation, the ambient temperature in a weather object is taken to be the MSL temperature. airTemperatureAtAltitude is used to compute the net temperature.

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)