Update of /cvsroot/jsbsim/JSBSim/src/models In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16381/src/models Modified Files: FGBuoyantForces.cpp FGExternalForce.cpp FGExternalForce.h FGExternalReactions.cpp FGExternalReactions.h FGGasCell.h Log Message: Headers inclusion clean up. It should allow to reduce the compilation time (less source files recompiled) when some headers are modified. Index: FGBuoyantForces.cpp =================================================================== RCS file: /cvsroot/jsbsim/JSBSim/src/models/FGBuoyantForces.cpp,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -r1.30 -r1.31 *** FGBuoyantForces.cpp 28 Mar 2015 14:49:02 -0000 1.30 --- FGBuoyantForces.cpp 3 Jun 2017 19:49:20 -0000 1.31 *************** *** 39,45 **** #include <iostream> #include "FGBuoyantForces.h" #include "FGMassBalance.h" - #include "input_output/FGPropertyManager.h" #include "input_output/FGXMLElement.h" --- 39,45 ---- #include <iostream> + #include "FGFDMExec.h" #include "FGBuoyantForces.h" #include "FGMassBalance.h" #include "input_output/FGXMLElement.h" Index: FGExternalForce.cpp =================================================================== RCS file: /cvsroot/jsbsim/JSBSim/src/models/FGExternalForce.cpp,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -r1.19 -r1.20 *** FGExternalForce.cpp 28 May 2017 19:01:49 -0000 1.19 --- FGExternalForce.cpp 3 Jun 2017 19:49:20 -0000 1.20 *************** *** 52,61 **** */ #include "FGExternalForce.h" #include "input_output/FGXMLElement.h" #include "math/FGPropertyValue.h" #include "math/FGFunction.h" - #include <iostream> using namespace std; --- 52,62 ---- */ + #include <iostream> + #include "FGFDMExec.h" #include "FGExternalForce.h" #include "input_output/FGXMLElement.h" #include "math/FGPropertyValue.h" #include "math/FGFunction.h" using namespace std; *************** *** 75,79 **** string BasePropertyName = "external_reactions/" + Name; ! // The value sent to the sim through the external_forces/{force name}/magnitude // property will be multiplied against the unit vector, which can come in // initially in the direction vector. The frame in which the vector is defined --- 76,80 ---- string BasePropertyName = "external_reactions/" + Name; ! // The value sent to the sim through the external_reactions/{force name}/magnitude // property will be multiplied against the unit vector, which can come in // initially in the direction vector. The frame in which the vector is defined Index: FGExternalForce.h =================================================================== RCS file: /cvsroot/jsbsim/JSBSim/src/models/FGExternalForce.h,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -r1.16 -r1.17 *** FGExternalForce.h 28 May 2017 19:01:49 -0000 1.16 --- FGExternalForce.h 3 Jun 2017 19:49:20 -0000 1.17 *************** *** 41,44 **** --- 41,45 ---- #include <string> + #include "models/propulsion/FGForce.h" #include "math/FGColumnVector3.h" *************** *** 57,60 **** --- 58,62 ---- class FGParameter; + class Element; /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Index: FGExternalReactions.cpp =================================================================== RCS file: /cvsroot/jsbsim/JSBSim/src/models/FGExternalReactions.cpp,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -r1.22 -r1.23 *** FGExternalReactions.cpp 26 May 2017 10:49:39 -0000 1.22 --- FGExternalReactions.cpp 3 Jun 2017 19:49:20 -0000 1.23 *************** *** 40,43 **** --- 40,44 ---- #include <string> + #include "FGExternalForce.h" #include "FGExternalReactions.h" #include "input_output/FGXMLElement.h" *************** *** 97,101 **** { for (unsigned int i=0; i<Forces.size(); i++) delete Forces[i]; - Forces.clear(); Debug(1); --- 98,101 ---- Index: FGExternalReactions.h =================================================================== RCS file: /cvsroot/jsbsim/JSBSim/src/models/FGExternalReactions.h,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -r1.18 -r1.19 *** FGExternalReactions.h 26 May 2017 10:49:39 -0000 1.18 --- FGExternalReactions.h 3 Jun 2017 19:49:20 -0000 1.19 *************** *** 41,45 **** #include <vector> #include "FGModel.h" ! #include "FGExternalForce.h" /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% --- 41,45 ---- #include <vector> #include "FGModel.h" ! #include "math/FGColumnVector3.h" /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% *************** *** 56,59 **** --- 56,60 ---- class Element; + class FGExternalForce; /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Index: FGGasCell.h =================================================================== RCS file: /cvsroot/jsbsim/JSBSim/src/models/FGGasCell.h,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -r1.16 -r1.17 *** FGGasCell.h 28 Mar 2015 14:49:02 -0000 1.16 --- FGGasCell.h 3 Jun 2017 19:49:20 -0000 1.17 *************** *** 60,64 **** class FGBallonet; ! class Element; /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% --- 60,64 ---- class FGBallonet; ! class FGMassBalance; /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |