43 #include "math/FGModelFunctions.h" 44 #include "simgear/misc/sg_path.hxx" 50 #define ID_MODEL "$Id: FGModel.h,v 1.26 2017/02/25 14:23:19 bcoconni Exp $" 60 class FGPropertyManager;
94 virtual bool Run(
bool Holding);
96 virtual bool InitModel(
void);
98 void SetRate(
unsigned int tt) {rate = tt;}
101 FGFDMExec* GetExec(
void) {
return FDMExec;}
104 virtual SGPath FindFullPathName(
const SGPath& path)
const;
107 unsigned int exe_ctr;
115 virtual void Debug(
int from);
FGModel(FGFDMExec *)
Constructor.
virtual bool Run(bool Holding)
Runs the model; called by the Executive.
void SetRate(unsigned int tt)
Set the ouput rate for the model in frames.
Base class for all scheduled JSBSim models.
unsigned int GetRate(void)
Get the output rate for the model in frames.
virtual ~FGModel()
Destructor.
Encapsulates the JSBSim simulation executive.
virtual bool Load(Element *el)
Loads this model.
The model functions class provides the capability for loading, storing, and executing arbitrary funct...