 |
JSBSim Flight Dynamics Model
1.1.11 (13 Feb 2022)
An Open Source Flight Dynamics and Control Software Library in C++
|
44 #include "input_output/FGOutputType.h"
146 bool Run(
bool Holding)
override;
172 bool SetOutputName(
unsigned int idx,
const std::string& name);
198 bool Load(
Element* el,
const SGPath& dir = SGPath());
211 bool Load(
int subSystems, std::string protocol, std::string type,
212 std::string port, std::string name,
double outRate,
213 std::vector<FGPropertyNode_ptr> & outputProperties);
220 SGPath FindFullPathName(
const SGPath& path)
const override;
223 std::vector<FGOutputType*> OutputTypes;
227 void Debug(
int from)
override;
Encapsulates the JSBSim simulation executive.
Base class for all scheduled JSBSim models.
void Print(void)
Makes all the output instances to generate their ouput.
void ForceOutput(int idx)
Force an output instance to generate its output.
bool Load(Element *el, const SGPath &dir=SGPath())
Load the output directives and adds a new output instance to the Output Manager list.
bool SetDirectivesFile(const SGPath &fname)
Adds a new output instance to the Output Manager.
std::string GetOutputName(unsigned int idx) const
Get the name identifier to which the output will be directed.
void SetStartNewOutput(void)
Reset the output prior to a restart of the simulation.
bool InitModel(void) override
Initializes the instance.
void Disable(void)
Disables the output generation for all output instances.
Handles simulation output.
bool SetOutputName(unsigned int idx, const std::string &name)
Overwrites the name identifier under which the output will be logged.
void Enable(void)
Enables the output generation for all output instances.
void SetRateHz(double rate)
Modifies the output rate for all output instances.
bool Run(bool Holding) override
Runs the Output model; called by the Executive.
bool Toggle(int idx)
Toggles the output generation of each ouput instance.