]> git.mxchange.org Git - flightgear.git/blob - src/Systems/system_mgr.cxx
Make sure that all elapsed time gets passed to update when a subsystem
[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
13
14 FGSystemMgr::FGSystemMgr ()
15 {
16     set_subsystem("electrical", new FGElectricalSystem);
17     set_subsystem("pitot", new PitotSystem);
18     set_subsystem("static", new StaticSystem);
19     set_subsystem("vacuum", new VacuumSystem);
20 }
21
22 FGSystemMgr::~FGSystemMgr ()
23 {
24 }
25
26 // end of system_manager.cxx