X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fadf.hxx;h=c8f36e4ff5ad77085e1fb67a538aa6bf880f6b23;hb=1011251504a4cb060e783b79bfccd4db6a390dc5;hp=41d55671d0c6f393584603eb3b13eae802ffcda5;hpb=89010e6b0ac344970dfe3e802e4e51703fedc8ff;p=flightgear.git diff --git a/src/Instrumentation/adf.hxx b/src/Instrumentation/adf.hxx index 41d55671d..c8f36e4ff 100644 --- a/src/Instrumentation/adf.hxx +++ b/src/Instrumentation/adf.hxx @@ -16,11 +16,12 @@ #include #include -#include using std::string; +class SGSampleGroup; + /** * Model an ADF radio. * @@ -62,7 +63,7 @@ private: void search (double frequency, double longitude_rad, double latitude_rad, double altitude_m); - string _name; + std::string _name; unsigned int _num; SGPropertyNode_ptr _longitude_node; @@ -80,6 +81,7 @@ private: SGPropertyNode_ptr _ident_node; SGPropertyNode_ptr _ident_audible_node; SGPropertyNode_ptr _volume_node; + SGPropertyNode_ptr _power_btn_node; double _time_before_search_sec; @@ -90,11 +92,12 @@ private: SGVec3d _transmitter_cart; double _transmitter_range_nm; - FGMorse morse; int _ident_count; time_t _last_ident_time; - double _last_volume; + float _last_volume; string _adf_ident; + + SGSharedPtr _sgr; };