]> git.mxchange.org Git - flightgear.git/blob - src/FDM/YASim/Jet.hpp
Initial revision of Andy Ross's YASim code. This is (Y)et (A)nother Flight
[flightgear.git] / src / FDM / YASim / Jet.hpp
1 #ifndef _JET_HPP
2 #define _JET_HPP
3
4 #include "Thruster.hpp"
5
6 namespace yasim {
7
8 // Incredibly dumb placeholder for a Jet implementation.  But it does
9 // what's important, which is provide thrust.
10 class Jet : public Thruster {
11 public:
12     Jet();
13
14     virtual Thruster* clone();
15
16     void setDryThrust(float thrust);
17     void setReheat(float reheat);
18
19     virtual void getThrust(float* out);
20     virtual void getTorque(float* out);
21     virtual void getGyro(float* out);
22     virtual float getFuelFlow();
23     virtual void integrate(float dt);
24
25 private:
26     float _thrust;
27     float _rho0;
28     float _reheat;
29 };
30
31 }; // namespace yasim
32 #endif // _JET_HPP