bool Run(void);
bool Load(FGConfigFile* AC_cfg);
FGColumnVector3& GetForces(void) {return vForces;}
+ double GetForces(int idx) const {return vForces(idx);}
FGColumnVector3& GetMoments(void) {return vMoments;}
+ double GetMoments(int idx) const {return vMoments(idx);}
string GetGroundReactionStrings(void);
string GetGroundReactionValues(void);
- inline int GetNumGearUnits(void) { return lGear.size(); }
+ inline int GetNumGearUnits(void) const { return lGear.size(); }
/** Gets a gear instance
@param gear index of gear instance
@return a pointer to the FGLGear instance of the gear unit requested */
inline FGLGear* GetGearUnit(int gear) { return &(lGear[gear]); }
+ void bind(void);
+ void unbind(void);
+
private:
vector <FGLGear> lGear;
FGColumnVector3 vForces;