X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fmarker_beacon.hxx;h=52259b6a2c49ced3ed2a6dbb75a417e3ea911eb7;hb=0b9adf8854398461333eba43df18fa2f5c8231a1;hp=5b4760d2d1cb3ddd12c45fbb93e8c02dadeae3a7;hpb=1c2c76709e1b85bd0e9805e747177a080345e07f;p=flightgear.git diff --git a/src/Instrumentation/marker_beacon.hxx b/src/Instrumentation/marker_beacon.hxx index 5b4760d2d..52259b6a2 100644 --- a/src/Instrumentation/marker_beacon.hxx +++ b/src/Instrumentation/marker_beacon.hxx @@ -16,7 +16,7 @@ // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software -// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // // $Id$ @@ -32,27 +32,24 @@ #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 *lon_node; - SGPropertyNode *lat_node; - SGPropertyNode *alt_node; - SGPropertyNode *bus_power; - SGPropertyNode *power_btn; - SGPropertyNode *audio_btn; - SGPropertyNode *serviceable; + SGPropertyNode_ptr lon_node; + SGPropertyNode_ptr lat_node; + SGPropertyNode_ptr alt_node; + SGPropertyNode_ptr bus_power; + SGPropertyNode_ptr power_btn; + SGPropertyNode_ptr audio_btn; + SGPropertyNode_ptr audio_vol; + SGPropertyNode_ptr serviceable; + SGPropertyNode_ptr sound_working; bool need_update; @@ -71,13 +68,15 @@ class FGMarkerBeacon : public SGSubsystem // internal periodic station search timer double _time_before_search_sec; + SGSharedPtr _sgr; + public: enum fgMkrBeacType { - NOBEACON = 0, - INNER, - MIDDLE, - OUTER + NOBEACON = 0, + INNER, + MIDDLE, + OUTER }; FGMarkerBeacon(SGPropertyNode *node);