X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FFDM%2FJSBSim%2Fmodels%2FFGFCS.h;h=6b97297d5ab0f6dba17052aa2f00d4d3dbc8ae27;hb=416ba93a417c4cadde025ba4d7bbcce71d613372;hp=a2b5927688a892c1effc0bc308531bb72d9557ca;hpb=4b8fde057be1124c516eb89442eae4bfe4a4db5c;p=flightgear.git diff --git a/src/FDM/JSBSim/models/FGFCS.h b/src/FDM/JSBSim/models/FGFCS.h index a2b592768..6b97297d5 100644 --- a/src/FDM/JSBSim/models/FGFCS.h +++ b/src/FDM/JSBSim/models/FGFCS.h @@ -51,7 +51,7 @@ INCLUDES DEFINITIONS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/ -#define ID_FCS "$Id: FGFCS.h,v 1.30 2010/09/05 17:31:40 jberndt Exp $" +#define ID_FCS "$Id: FGFCS.h,v 1.35 2011/04/05 20:20:21 andgi Exp $" /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% FORWARD DECLARATIONS @@ -168,7 +168,7 @@ CLASS DOCUMENTATION @property gear/tailhook-pos-norm @author Jon S. Berndt - @version $Revision: 1.30 $ + @version $Revision: 1.35 $ @see FGActuator @see FGDeadBand @see FGFCSFunction @@ -345,21 +345,16 @@ public: bool GetPropFeather(int engine) const { return PropFeather[engine]; } //@} - /** Retrieves the State object pointer. - This is used by the FGFCS-owned components. - @return pointer to the State object */ - FGState* GetState(void) { return State; } - /** Retrieves all component names for inclusion in output stream @param delimiter either a tab or comma string depending on output type @return a string containing the descriptive names for all components */ - std::string GetComponentStrings(const std::string& delimiter); + std::string GetComponentStrings(const std::string& delimiter) const; /** Retrieves all component outputs for inclusion in output stream @param delimiter either a tab or comma string depending on output type @return a string containing the numeric values for the current set of component outputs */ - std::string GetComponentValues(const std::string& delimiter); + std::string GetComponentValues(const std::string& delimiter) const; /// @name Pilot input command setting //@{ @@ -545,7 +540,7 @@ public: FGPropertyManager* GetPropertyManager(void) { return PropertyManager; } - void LateBind(void); + bool GetTrimStatus(void) const { return FDMExec->GetTrimStatus(); } private: double DaCmd, DeCmd, DrCmd, DsCmd, DfCmd, DsbCmd, DspCmd;