1 // system_mgr.hxx - manage aircraft systems.
2 // Written by David Megginson, started 2002.
4 // This file is in the Public Domain and comes with no warranty.
7 #ifndef __SYSTEM_MGR_HXX
8 #define __SYSTEM_MGR_HXX 1
11 # error This library requires C++
18 #include <simgear/compiler.h>
20 #include <Main/fgfs.hxx>
28 * Manage aircraft systems.
30 * In the initial draft, the systems present are hard-coded, but they
31 * will soon be configurable for individual aircraft.
33 class FGSystemMgr : public FGSubsystem
38 virtual ~FGSystemMgr ();
42 virtual void unbind ();
43 virtual void update (double dt);
46 vector<FGSubsystem *> _systems;
50 #endif // __SYSTEM_MGR_HXX