]> git.mxchange.org Git - flightgear.git/blob - src/Instrumentation/instrument_mgr.cxx
410245cb7499d14148c0617c66e42a1c335881ef
[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 "heading_indicator.hxx"
13 #include "vertical_speed_indicator.hxx"
14
15
16 FGInstrumentMgr::FGInstrumentMgr ()
17 {
18     set_subsystem("asi", new AirspeedIndicator);
19     set_subsystem("ai", new AttitudeIndicator);
20     set_subsystem("alt", new Altimeter);
21     set_subsystem("ti", new TurnIndicator);
22     set_subsystem("hi", new HeadingIndicator);
23     set_subsystem("vsi", new VerticalSpeedIndicator);
24 }
25
26 FGInstrumentMgr::~FGInstrumentMgr ()
27 {
28 }
29
30 // end of instrument_manager.cxx