]> git.mxchange.org Git - flightgear.git/blob - src/Systems/system_mgr.cxx
fbd6ee6a0c7ae5e64f3f9cc87cf5e94d087d861e
[flightgear.git] / src / Systems / system_mgr.cxx
1 // system_mgr.cxx - manage aircraft systems.
2 // Written by David Megginson, started 2002.
3 //
4 // This file is in the Public Domain and comes with no warranty.
5
6
7 #include "system_mgr.hxx"
8 #include "electrical.hxx"
9 #include "pitot.hxx"
10 #include "static.hxx"
11 #include "vacuum.hxx"
12 #include "submodel.hxx"
13
14
15 FGSystemMgr::FGSystemMgr ()
16 {
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() );
23 }
24
25 FGSystemMgr::~FGSystemMgr ()
26 {
27 }
28
29 // end of system_manager.cxx