1 // system_mgr.cxx - manage aircraft systems.
2 // Written by David Megginson, started 2002.
4 // This file is in the Public Domain and comes with no warranty.
7 #include "system_mgr.hxx"
8 #include "electrical.hxx"
12 #include "submodel.hxx"
15 FGSystemMgr::FGSystemMgr ()
17 set_subsystem( "electrical", new FGElectricalSystem );
18 set_subsystem( "pitot", new PitotSystem );
19 set_subsystem( "static", new StaticSystem );
20 set_subsystem( "vacuum-l", new VacuumSystem(0) );
21 set_subsystem( "vacuum-r", new VacuumSystem(1) );
22 // set_subsystem( "submodel", new SubmodelSystem() );
25 FGSystemMgr::~FGSystemMgr ()
29 // end of system_manager.cxx