]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Rotorpart.hpp
latest updates from JSBSim
[flightgear.git] / src / FDM / YASim / Rotorpart.hpp
index cfc50af08909bb66752e5d75b863971708a224cf..8d68fa98fbe4969f339096d7cd86af7bb66fa2fc 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef _ROTORPART_HPP
 #define _ROTORPART_HPP
-#include <sstream>
-#include <iostream>
+#include <iosfwd>
+
 namespace yasim {
     class Rotor;
     class Rotorpart
@@ -69,11 +69,12 @@ namespace yasim {
         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:
@@ -119,6 +120,8 @@ namespace yasim {
         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