]> 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 759be1c9e79d1f2fd6d122ee8a6aef6da3f59ae5..1b4a368e5b064ef97a32f08c63009d56a5a24d5c 100644 (file)
@@ -41,24 +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();
   
   TankPropertiesList _tankProperties;
-  FGInterface* _impl;
-  SGPropertyNode* _props; // root property tree for this FDM instance
+  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