1 #ifndef FG_FDM_SHELL_HXX
2 #define FG_FDM_SHELL_HXX
4 #include <simgear/structure/subsystem_mgr.hxx>
10 * Wrap an FDM implementation in a subsystem with standard semantics
11 * Notably, deal with the various cases in which update() should not
12 * be called, such as replay or before scenery has loaded
14 * This class also provides the factory method which creates the
15 * specific FDM class (createImplementation)
17 class FDMShell : public SGSubsystem
24 virtual void reinit();
27 virtual void unbind();
29 virtual void update(double dt);
33 void createImplementation();
36 SGPropertyNode* _props; // root property tree for this FDM instance
40 #endif // of FG_FDM_SHELL_HXX