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"
14 FGSystemMgr::FGSystemMgr ()
16 set_subsystem( "electrical", new FGElectricalSystem );
17 set_subsystem( "pitot", new PitotSystem );
18 set_subsystem( "static", new StaticSystem );
19 set_subsystem( "vacuum-l", new VacuumSystem(0) );
20 set_subsystem( "vacuum-r", new VacuumSystem(1) );
23 FGSystemMgr::~FGSystemMgr ()
27 // end of system_manager.cxx