]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/FGRocket.h
Frederic Bouvier:
[flightgear.git] / src / FDM / JSBSim / FGRocket.h
index b9b3dc80422323c6467dded52fe7d9ecf24480e0..a4d237e8b297a198ce309f5fc6cc88e2dda1f3b2 100644 (file)
@@ -103,28 +103,28 @@ class FGRocket : public FGEngine
 public:
   /** Constructor.
       @param exec pointer to JSBSim parent object, the FDM Executive.
-      @param Eng_cfg pointer to the config file object. */
-  FGRocket(FGFDMExec* exec, FGConfigFile* Eng_cfg);
+      @param Eng_cfg pointer to the config file object.
+      @param engine_number engine number */
+  FGRocket(FGFDMExec* exec, FGConfigFile* Eng_cfg, int engine_number);
 
   /** Destructor */
   ~FGRocket(void);
 
   /** Determines the thrust coefficient.
-      This routine takes the nozzle exit pressure and calculates the thrust
-      coefficient times the chamber pressure.
-      @param pe nozzle exit pressure
       @return thrust coefficient times chamber pressure */
-  double Calculate(double pe);
-  
+  double Calculate(void);
+
   /** Gets the chamber pressure.
       @return chamber pressure in psf. */
   double GetChamberPressure(void) {return PC;}
 
   /** Gets the flame-out status.
-      The engine will "flame out" if the throttle is set below the minimum 
+      The engine will "flame out" if the throttle is set below the minimum
       sustainable setting.
       @return true if engine has flamed out. */
   bool GetFlameout(void) {return Flameout;}
+  string GetEngineLabels(void);
+  string GetEngineValues(void);
 
 private:
   double SHR;