X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fkr_87.hxx;h=cd10cf4459e3a10e5cf4cf650d1cf49bc27ebe75;hb=19e716397136f25e11187bcc025d13eeaeac346c;hp=14accba9f2eeb83d57644883d8ae1b6289d28b85;hpb=9cef27f5ca7486230d1158748f994cba0ceea673;p=flightgear.git diff --git a/src/Instrumentation/kr_87.hxx b/src/Instrumentation/kr_87.hxx index 14accba9f..cd10cf445 100644 --- a/src/Instrumentation/kr_87.hxx +++ b/src/Instrumentation/kr_87.hxx @@ -29,6 +29,7 @@ #include #include +#include #include #include @@ -37,17 +38,15 @@ class SGSampleGroup; class FGKR_87 : public SGSubsystem { - SGPropertyNode_ptr lon_node; - SGPropertyNode_ptr lat_node; - SGPropertyNode_ptr alt_node; +private: SGPropertyNode_ptr bus_power; SGPropertyNode_ptr serviceable; bool need_update; // internal values - string ident; - string trans_ident; + std::string ident; + std::string trans_ident; bool valid; bool inrange; double stn_lon; @@ -103,9 +102,9 @@ class FGKR_87 : public SGSubsystem double _time_before_search_sec; SGSharedPtr _sgr; + simgear::TiedPropertyList _tiedProperties; public: - FGKR_87( SGPropertyNode *node ); ~FGKR_87(); @@ -118,7 +117,7 @@ public: void search (); // internal values - inline const string& get_ident() const { return ident; } + inline const std::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; }