#endif
#include <simgear/compiler.h>
-
-#include <Main/fgfs.hxx>
-
-#include <vector>
-
-SG_USING_STD(vector);
+#include <simgear/structure/subsystem_mgr.hxx>
/**
* In the initial draft, the systems present are hard-coded, but they
* will soon be configurable for individual aircraft.
*/
-class FGSystemMgr : public FGSubsystem
+class FGSystemMgr : public SGSubsystemGroup
{
public:
FGSystemMgr ();
virtual ~FGSystemMgr ();
-
- virtual void init ();
- virtual void bind ();
- virtual void unbind ();
- virtual void update (double dt);
-
-private:
- vector<FGSubsystem *> _systems;
-
};
#endif // __SYSTEM_MGR_HXX