22#ifndef __ENVIRONMENT_PRESETS_HXX
23#define __ENVIRONMENT_PRESETS_HXX
25#include <simgear/structure/Singleton.hxx>
26#include <simgear/props/props.hxx>
44 std::string _overrideNodePath;
45 SGPropertyNode_ptr _overrideNode;
51 void preset(
double elevation,
double thickness );
53 SGPropertyNode_ptr _elevationNode;
54 SGPropertyNode_ptr _thicknessNode;
62 void preset(
double magnitude_norm );
64 SGPropertyNode_ptr _magnitudeNode;
72 void preset(
double min_hdg,
double max_hdg,
double speed,
double gust );
74 SGPropertyNode_ptr _fromNorthNode;
75 SGPropertyNode_ptr _fromEastNode;
83 void preset(
double visibility_m );
85 SGPropertyNode_ptr _visibilityNode;
void preset(double elevation, double thickness)
void setOverride(bool value)
PresetBase(const char *overrideNodePath)
virtual void disablePreset()
void preset(double magnitude_norm)
void preset(double visibility_m)
void preset(double min_hdg, double max_hdg, double speed, double gust)
A wrapper for presets of environment properties mainly set from the command line with –wind=270@10,...
simgear::Singleton< Visibility > VisibilitySingleton
simgear::Singleton< Turbulence > TurbulenceSingleton
simgear::Singleton< Ceiling > CeilingSingleton
simgear::Singleton< Wind > WindSingleton