85 enum eType {ttNozzle, ttRotor, ttPropeller, ttDirect};
87 virtual double Calculate(
double tt) {
88 Thrust = cos(ReverserAngle)*tt;
92 void SetName(std::string name) {Name = name;}
93 virtual void SetRPM(
double rpm) {};
94 virtual void SetEngineRPM(
double rpm) {};
95 virtual double GetPowerRequired(
void) {
return 0.0;}
96 double GetThrust(
void)
const {
return Thrust;}
97 eType GetType(
void) {
return Type;}
98 std::string GetName(
void) {
return Name;}
99 void SetReverserAngle(
double angle) {ReverserAngle = angle;}
100 double GetReverserAngle(
void)
const {
return ReverserAngle;}
101 virtual double GetRPM(
void)
const {
return 0.0; };
102 virtual double GetEngineRPM(
void)
const {
return 0.0; };
103 double GetGearRatio(
void) {
return GearRatio; }
104 virtual std::string GetThrusterLabels(
int id,
const std::string& delimeter);
105 virtual std::string GetThrusterValues(
int id,
const std::string& delimeter);
107 virtual void ResetToIC(
void);
127 double PowerRequired;
130 double ReverserAngle;
132 virtual void Debug(
int from);