1
0
Fork 0
flightgear/src/Instrumentation/instrument_mgr.cxx

31 lines
795 B
C++
Raw Normal View History

// instrument_mgr.cxx - manage aircraft instruments.
// Written by David Megginson, started 2002.
//
// This file is in the Public Domain and comes with no warranty.
#include "instrument_mgr.hxx"
#include "airspeed_indicator.hxx"
#include "attitude_indicator.hxx"
#include "altimeter.hxx"
#include "turn_indicator.hxx"
#include "heading_indicator.hxx"
#include "vertical_speed_indicator.hxx"
FGInstrumentMgr::FGInstrumentMgr ()
{
set_subsystem("asi", new AirspeedIndicator);
set_subsystem("ai", new AttitudeIndicator);
set_subsystem("alt", new Altimeter);
set_subsystem("ti", new TurnIndicator);
set_subsystem("hi", new HeadingIndicator);
set_subsystem("vsi", new VerticalSpeedIndicator);
}
FGInstrumentMgr::~FGInstrumentMgr ()
{
}
// end of instrument_manager.cxx