]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/kr_87.hxx
Vivian MEAZZA:
[flightgear.git] / src / Instrumentation / kr_87.hxx
index bc2f3d569323d84bb503cf12c9c584a1a45edb7b..a09d8c458df512a91f557ca740a34591aeb39ee6 100644 (file)
@@ -2,7 +2,7 @@
 //
 // Written by Curtis Olson, started June 2002.
 //
-// Copyright (C) 2002  Curtis L. Olson - curt@flightgear.org
+// Copyright (C) 2002  Curtis L. Olson - http://www.flightgear.org/~curt
 //
 // This program is free software; you can redistribute it and/or
 // modify it under the terms of the GNU General Public License as
@@ -103,6 +103,9 @@ class FGKR_87 : public SGSubsystem
     bool flt_ann;
     bool et_ann;
 
+    // internal periodic station search timer
+    double _time_before_search_sec;
+
 public:
 
     FGKR_87( SGPropertyNode *node );
@@ -111,13 +114,13 @@ public:
     void init ();
     void bind ();
     void unbind ();
-    void update (double dt);
+    void update (double dt_sec);
 
     // Update nav/adf radios based on current postition
     void search ();
 
     // internal values
-    inline string get_ident() const { return ident; }
+    inline const string& get_ident() const { return ident; }
     inline bool get_valid() const { return valid; }
     inline bool get_inrange() const { return inrange; }
     inline double get_stn_lon() const { return stn_lon; }