]> git.mxchange.org Git - flightgear.git/blob - src/Instrumentation/instrument_mgr.cxx
ignore resets for now because every z/Z key press would trigger a call to NOAA. We...
[flightgear.git] / src / Instrumentation / instrument_mgr.cxx
1 // instrument_mgr.cxx - manage aircraft instruments.
2 // Written by David Megginson, started 2002.
3 //
4 // This file is in the Public Domain and comes with no warranty.
5
6
7 #include "instrument_mgr.hxx"
8 #include "airspeed_indicator.hxx"
9 #include "annunciator.hxx"
10 #include "attitude_indicator.hxx"
11 #include "altimeter.hxx"
12 #include "turn_indicator.hxx"
13 #include "slip_skid_ball.hxx"
14 #include "heading_indicator.hxx"
15 #include "vertical_speed_indicator.hxx"
16 #include "mag_compass.hxx"
17
18 #include "dme.hxx"
19 #include "adf.hxx"
20 #include "gps.hxx"
21 #include "clock.hxx"
22
23
24 FGInstrumentMgr::FGInstrumentMgr ()
25 {
26     set_subsystem("asi", new AirspeedIndicator);
27     set_subsystem("annunciator", new Annunciator);
28     set_subsystem("ai", new AttitudeIndicator);
29     set_subsystem("alt", new Altimeter);
30     set_subsystem("ti", new TurnIndicator);
31     set_subsystem("ball", new SlipSkidBall);
32     set_subsystem("hi", new HeadingIndicator);
33     set_subsystem("vsi", new VerticalSpeedIndicator);
34     set_subsystem("compass", new MagCompass);
35     set_subsystem("dme", new DME, 1.0);
36     set_subsystem("adf", new ADF, 0.15);
37     set_subsystem("gps", new GPS, 0.45);
38     set_subsystem("clock", new Clock, 0.25);
39 }
40
41 FGInstrumentMgr::~FGInstrumentMgr ()
42 {
43 }
44
45 // end of instrument_manager.cxx