 |
JSBSim Flight Dynamics Model
1.1.11 (13 Feb 2022)
An Open Source Flight Dynamics and Control Software Library in C++
|
34 #ifndef FGOUTPUTFILE_H
35 #define FGOUTPUTFILE_H
41 #include "FGFDMExec.h"
42 #include "FGOutputType.h"
110 void Print(
void)
override = 0;
virtual void CloseFile(void)
Closes the file.
Encapsulates the JSBSim simulation executive.
Abstract class to provide functions generic to all the output directives.
FGOutputFile(FGFDMExec *fdmex)
Constructor.
bool InitModel(void) override
Initializes the instance.
virtual bool OpenFile(void)=0
Opens the file.
void SetOutputName(const std::string &fname) override
Overwrites the name identifier under which the output will be logged.
~FGOutputFile() override
Destructor : closes the file.
const SGPath & GetOutputPath(void)
Retrieves the path to the output files.
void Print(void) override=0
Generate the output.
Abstract class that provide functions that are generic to all the outputs that are directed to a file...
bool Load(Element *el) override
Init the output directives from an XML file.
void SetStartNewOutput(void) override
Reset the output prior to a restart of the simulation.