 |
JSBSim Flight Dynamics Model
1.1.11 (13 Feb 2022)
An Open Source Flight Dynamics and Control Software Library in C++
|
43 #include "math/FGModelFunctions.h"
44 #include "simgear/misc/sg_path.hxx"
54 class FGPropertyManager;
86 virtual bool Run(
bool Holding);
88 bool InitModel(
void)
override;
90 void SetRate(
unsigned int tt) {rate = tt;}
93 FGFDMExec* GetExec(
void) {
return FDMExec;}
95 void SetPropertyManager(FGPropertyManager *fgpm) { PropertyManager=fgpm;}
96 virtual SGPath FindFullPathName(
const SGPath& path)
const;
97 const std::string& GetName(
void) {
return Name; }
98 virtual bool Load(Element* el) {
return true; }
101 unsigned int exe_ctr;
112 bool Upload(Element* el,
bool preLoad);
114 virtual void Debug(
int from);
117 FGPropertyManager* PropertyManager;
Encapsulates the JSBSim simulation executive.
bool Upload(Element *el, bool preLoad)
Uploads this model in memory.
Base class for all scheduled JSBSim models.
FGModel(FGFDMExec *)
Constructor.
The model functions class provides the capability for loading, storing, and executing arbitrary funct...
unsigned int GetRate(void)
Get the output rate for the model in frames.
void SetRate(unsigned int tt)
Set the ouput rate for the model in frames.
virtual bool Run(bool Holding)
Runs the model; called by the Executive.
~FGModel() override
Destructor.