]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/YASim.hxx
Port over remaining Point3D usage to the more type and unit safe SG* classes.
[flightgear.git] / src / FDM / YASim / YASim.hxx
index 1498d5126e133d406bc682bc0848b90c59ec5f5e..2e8f77732c5ccebeac71159d89583047507a3415 100644 (file)
@@ -8,6 +8,7 @@ namespace yasim { class FGFDM; };
 class YASim : public FGInterface {
 public:
     YASim(double dt);
+    ~YASim();
 
     // Load externally set stuff into the FDM
     virtual void init();
@@ -17,14 +18,21 @@ public:
     virtual void update(double dt);
 
  private:
+
     void report();
     void copyFromYASim();
     void copyToYASim(bool copyState);
 
-    void printDEBUG();
-
     yasim::FGFDM* _fdm;
     float _dt;
+    double _simTime;
+    enum {
+        NED,
+        UVW,
+        KNOTS,
+        MACH
+    } _speed_set;
+
 };
 
 #endif // _YASIM_HXX