]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/adf.hxx
kln89 user interface logical pages
[flightgear.git] / src / Instrumentation / adf.hxx
index fa17234f23a9342792c98ca1553e6da3f411adc9..6f584803c6bf26bb38b773b45e5bc31e87237946 100644 (file)
@@ -17,6 +17,7 @@
 #include <simgear/props/props.hxx>
 
 #include <simgear/structure/subsystem_mgr.hxx>
+#include <Sound/morse.hxx>
 
 SG_USING_STD(string);
 
@@ -35,6 +36,8 @@ SG_USING_STD(string);
  * /instrumentation/adf/error-deg
  * /instrumentation/adf/frequencies/selected-khz
  * /instrumentation/adf/mode
+ * /instrumentation/adf/ident-audible
+ * /instrumentation/adf/volume-norm
  *
  * Output properties:
  *
@@ -47,6 +50,7 @@ class ADF : public SGSubsystem
 
 public:
 
+    ADF ( SGPropertyNode *node );
     ADF ();
     virtual ~ADF ();
 
@@ -73,6 +77,8 @@ private:
     SGPropertyNode_ptr _in_range_node;
     SGPropertyNode_ptr _bearing_node;
     SGPropertyNode_ptr _ident_node;
+    SGPropertyNode_ptr _ident_audible_node;
+    SGPropertyNode_ptr _volume_node;
 
     double _time_before_search_sec;
 
@@ -85,6 +91,14 @@ private:
     double _transmitter_elevation_ft;
     double _transmitter_range_nm;
 
+    FGMorse morse;
+    int _ident_count;
+    time_t _last_ident_time;
+    double _last_volume;
+
+    string name;
+    int num;
+    string adf_ident;
 };