X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fadf.hxx;h=41d55671d0c6f393584603eb3b13eae802ffcda5;hb=c6045147544badd6daefdcab9d4de1ed6936533b;hp=d43bdce600e16845ccb83b5d0f2f2483627d9175;hpb=ef52b23e3a1aaf44d1a2283c920a70367960abff;p=flightgear.git diff --git a/src/Instrumentation/adf.hxx b/src/Instrumentation/adf.hxx index d43bdce60..41d55671d 100644 --- a/src/Instrumentation/adf.hxx +++ b/src/Instrumentation/adf.hxx @@ -13,13 +13,12 @@ #include -#include #include #include #include -SG_USING_STD(string); +using std::string; /** @@ -51,7 +50,6 @@ class ADF : public SGSubsystem public: ADF ( SGPropertyNode *node ); - ADF (); virtual ~ADF (); virtual void init (); @@ -64,6 +62,9 @@ private: void search (double frequency, double longitude_rad, double latitude_rad, double altitude_m); + string _name; + unsigned int _num; + SGPropertyNode_ptr _longitude_node; SGPropertyNode_ptr _latitude_node; SGPropertyNode_ptr _altitude_node; @@ -93,10 +94,7 @@ private: int _ident_count; time_t _last_ident_time; double _last_volume; - - string name; - int num; - string adf_ident; + string _adf_ident; };