2002-09-24 14:51:37 +00:00
|
|
|
// 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"
|
2002-09-28 20:48:53 +00:00
|
|
|
#include "airspeed_indicator.hxx"
|
2002-09-24 14:51:37 +00:00
|
|
|
#include "attitude_indicator.hxx"
|
2003-01-25 19:49:27 +00:00
|
|
|
#include "altimeter.hxx"
|
|
|
|
#include "turn_indicator.hxx"
|
2003-01-25 21:13:13 +00:00
|
|
|
#include "slip_skid_ball.hxx"
|
2002-09-27 22:03:48 +00:00
|
|
|
#include "heading_indicator.hxx"
|
|
|
|
#include "vertical_speed_indicator.hxx"
|
2003-01-26 15:56:11 +00:00
|
|
|
#include "mag_compass.hxx"
|
2002-09-24 14:51:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
FGInstrumentMgr::FGInstrumentMgr ()
|
|
|
|
{
|
2003-01-25 19:49:27 +00:00
|
|
|
set_subsystem("asi", new AirspeedIndicator);
|
|
|
|
set_subsystem("ai", new AttitudeIndicator);
|
|
|
|
set_subsystem("alt", new Altimeter);
|
|
|
|
set_subsystem("ti", new TurnIndicator);
|
2003-01-25 21:13:13 +00:00
|
|
|
set_subsystem("ball", new SlipSkidBall);
|
2003-01-25 19:49:27 +00:00
|
|
|
set_subsystem("hi", new HeadingIndicator);
|
|
|
|
set_subsystem("vsi", new VerticalSpeedIndicator);
|
2003-01-26 15:56:11 +00:00
|
|
|
set_subsystem("compass", new MagCompass);
|
2002-09-24 14:51:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
FGInstrumentMgr::~FGInstrumentMgr ()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
// end of instrument_manager.cxx
|