2002-09-23 19:55:10 +00:00
|
|
|
// system_mgr.cxx - manage aircraft systems.
|
|
|
|
// Written by David Megginson, started 2002.
|
|
|
|
//
|
|
|
|
// This file is in the Public Domain and comes with no warranty.
|
|
|
|
|
|
|
|
|
|
|
|
#include "system_mgr.hxx"
|
2002-09-24 15:24:04 +00:00
|
|
|
#include "electrical.hxx"
|
2002-09-28 20:48:53 +00:00
|
|
|
#include "pitot.hxx"
|
2002-09-27 18:27:58 +00:00
|
|
|
#include "static.hxx"
|
2002-09-24 14:51:37 +00:00
|
|
|
#include "vacuum.hxx"
|
2002-09-23 19:55:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
FGSystemMgr::FGSystemMgr ()
|
|
|
|
{
|
2003-01-29 16:02:46 +00:00
|
|
|
set_subsystem("electrical", new FGElectricalSystem);
|
|
|
|
set_subsystem("pitot", new PitotSystem);
|
|
|
|
set_subsystem("static", new StaticSystem);
|
|
|
|
set_subsystem("vacuum", new VacuumSystem);
|
2002-09-23 19:55:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
FGSystemMgr::~FGSystemMgr ()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
// end of system_manager.cxx
|