#ifndef _ROTORPART_HPP
#define _ROTORPART_HPP
-#include <sstream>
-#include <iostream>
+#include <iosfwd>
+
namespace yasim {
class Rotor;
class Rotorpart
void setAlpha0(float f);
void setAlpha0factor(float f);
void setLen(float value);
- void setParameter(char *parametername, float value);
+ void setParameter(const char *parametername, float value);
void setRotor(Rotor *rotor);
void setTorqueOfInertia(float toi);
void writeInfo(std::ostringstream &buffer);
void setSharedFlapHinge(bool s);
+ void setDirection(float direction);
float getAlphaAlt() {return _alphaalt;}
private:
int _alpha2type;
float _rotor_correction_factor;
bool _shared_flap_hinge;
+ float _direction;
+ float _balance;
};
std::ostream & operator<<(std::ostream & out, const Rotorpart& rp);
}; // namespace yasim