]> git.mxchange.org Git - flightgear.git/blob - src/Systems/system_mgr.cxx
Multiplayer client/server system -- Message base class, "hello" message, and message...
[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-l", new VacuumSystem(0) );
20     set_subsystem( "vacuum-r", new VacuumSystem(1) );
21 }
22
23 FGSystemMgr::~FGSystemMgr ()
24 {
25 }
26
27 // end of system_manager.cxx