]> git.mxchange.org Git - flightgear.git/blob - src/Instrumentation/instrument_mgr.cxx
New version of basic DME support. This can coexist with the old one
[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 "attitude_indicator.hxx"
10 #include "altimeter.hxx"
11 #include "turn_indicator.hxx"
12 #include "slip_skid_ball.hxx"
13 #include "heading_indicator.hxx"
14 #include "vertical_speed_indicator.hxx"
15 #include "mag_compass.hxx"
16 #include "dme.hxx"
17
18
19 FGInstrumentMgr::FGInstrumentMgr ()
20 {
21     set_subsystem("asi", new AirspeedIndicator);
22     set_subsystem("ai", new AttitudeIndicator);
23     set_subsystem("alt", new Altimeter);
24     set_subsystem("ti", new TurnIndicator);
25     set_subsystem("ball", new SlipSkidBall);
26     set_subsystem("hi", new HeadingIndicator);
27     set_subsystem("vsi", new VerticalSpeedIndicator);
28     set_subsystem("compass", new MagCompass);
29     set_subsystem("dme", new DME, 1.0);
30 }
31
32 FGInstrumentMgr::~FGInstrumentMgr ()
33 {
34 }
35
36 // end of instrument_manager.cxx