]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/fdm_shell.hxx
Do not run the HoldDown code until after the aircraft is trimmed to prevent a devide...
[flightgear.git] / src / FDM / fdm_shell.hxx
index be0b1f85925965c949afab0de5e19f68ece71ec4..1b4a368e5b064ef97a32f08c63009d56a5a24d5c 100644 (file)
@@ -24,6 +24,7 @@
 #define FG_FDM_SHELL_HXX
 
 #include <simgear/structure/subsystem_mgr.hxx>
+#include "TankProperties.hxx"
 
 // forward decls
 class FGInterface;
@@ -40,23 +41,33 @@ class FDMShell : public SGSubsystem
 {
 public:
   FDMShell();
-  ~FDMShell();
+  virtual ~FDMShell();
   
   virtual void init();
+  virtual void shutdown();
   virtual void reinit();
-  
+  virtual void postinit();
+    
   virtual void bind();
   virtual void unbind();
   
   virtual void update(double dt);
-  
+
+    FGInterface* getInterface() const;
 private:
 
   void createImplementation();
   
-  FGInterface* _impl;
-  SGPropertyNode* _props; // root property tree for this FDM instance
+  TankPropertiesList _tankProperties;
+  SGSharedPtr<FGInterface> _impl;
+  SGPropertyNode_ptr _props; // root property tree for this FDM instance
   bool _dataLogging;
+  
+  SGPropertyNode_ptr _wind_north, _wind_east,_wind_down;
+  SGPropertyNode_ptr _control_fdm_atmo,_temp_degc,_pressure_inhg;
+  SGPropertyNode_ptr _density_slugft, _data_logging, _replay_master;
+    
+  SGPropertyNode_ptr _initialFdmProperties;
 };
 
 #endif // of FG_FDM_SHELL_HXX