X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FEnvironment%2Fmetarproperties.hxx;h=7d108100defbf7f0d338197c6ca55c4571225d19;hb=c71c9aee0a321192d01f89f161cbdbd6112491b6;hp=bec445b157d0da937cb6c6b5484fd78f969d3df1;hpb=317302004332ed5b6082ea548c1b06b68fc4350c;p=flightgear.git diff --git a/src/Environment/metarproperties.hxx b/src/Environment/metarproperties.hxx index bec445b15..7d108100d 100644 --- a/src/Environment/metarproperties.hxx +++ b/src/Environment/metarproperties.hxx @@ -25,7 +25,7 @@ #include #include -#include "tiedpropertylist.hxx" +#include namespace Environment { @@ -51,6 +51,14 @@ private: const char * get_decoded() const { return _decoded.c_str(); } double get_magnetic_variation_deg() const; double get_magnetic_dip_deg() const; + double get_wind_from_north_fps() const { return _wind_from_north_fps; } + double get_wind_from_east_fps() const { return _wind_from_east_fps; } + double get_base_wind_dir() const { return _base_wind_dir; } + double get_wind_speed() const { return _wind_speed; } + void set_wind_from_north_fps( double value ); + void set_wind_from_east_fps( double value ); + void set_base_wind_dir( double value ); + void set_wind_speed( double value ); SGPropertyNode_ptr _rootNode; SGPropertyNode_ptr _metarValidNode; @@ -81,7 +89,7 @@ private: bool _snow_cover; std::string _decoded; protected: - TiedPropertyList _tiedProperties; + simgear::TiedPropertyList _tiedProperties; MagneticVariation * _magneticVariation; };