X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fmarker_beacon.hxx;h=7ed085aaad5ea65224142faf7659749ecc1e52fd;hb=f04d5f8758ef4b5524a9396a84351bf86db6763e;hp=774e37f81267b3d88cba349a140caa981d335b39;hpb=86f462933d0d7130e4e688183976620ed2ddb5ae;p=flightgear.git diff --git a/src/Instrumentation/marker_beacon.hxx b/src/Instrumentation/marker_beacon.hxx index 774e37f81..7ed085aaa 100644 --- a/src/Instrumentation/marker_beacon.hxx +++ b/src/Instrumentation/marker_beacon.hxx @@ -29,22 +29,12 @@ #include #include -#include #include -#include -#include - class SGSampleGroup; class FGMarkerBeacon : public SGSubsystem { - FGBeacon beacon; - FGMorse morse; - - SGInterpTable *term_tbl; - SGInterpTable *low_tbl; - SGInterpTable *high_tbl; // Inputs SGPropertyNode_ptr lon_node; @@ -55,9 +45,7 @@ class FGMarkerBeacon : public SGSubsystem SGPropertyNode_ptr audio_btn; SGPropertyNode_ptr audio_vol; SGPropertyNode_ptr serviceable; - SGPropertyNode_ptr sound_pause; - - bool need_update; + SGPropertyNode_ptr sound_working; bool outer_marker; bool middle_marker; @@ -68,13 +56,13 @@ class FGMarkerBeacon : public SGSubsystem bool middle_blink; bool inner_blink; - string name; + std::string name; int num; // internal periodic station search timer double _time_before_search_sec; - SGSampleGroup *_sgr; + SGSharedPtr _sgr; public: @@ -89,6 +77,7 @@ public: ~FGMarkerBeacon(); void init (); + void reinit (); void bind (); void unbind (); void update (double dt);