34 #ifndef FGOUTPUTFILE_H 35 #define FGOUTPUTFILE_H 41 #include "FGFDMExec.h" 42 #include "FGOutputType.h" 48 #define ID_OUTPUTFILE "$Id: FGOutputFile.h,v 1.8 2017/02/25 14:23:18 bcoconni Exp $" 109 Name = (FDMExec->
GetRootDir()/fname).utf8Str();
116 void Print(
void) = 0;
void SetStartNewOutput(void)
Reset the output prior to a restart of the simulation.
Abstract class that provide functions that are generic to all the outputs that are directed to a file...
bool InitModel(void)
Initializes the instance.
virtual ~FGOutputFile()
Destructor : closes the file.
virtual void CloseFile(void)
Closes the file.
void SetOutputName(const std::string &fname)
Overwrites the name identifier under which the output will be logged.
bool Load(Element *el)
Init the output directives from an XML file.
const SGPath & GetRootDir(void) const
Retrieves the Root Directory.
Abstract class to provide functions generic to all the output directives.
FGOutputFile(FGFDMExec *fdmex)
Constructor.
void Print(void)=0
Generate the output.
Encapsulates the JSBSim simulation executive.
virtual bool OpenFile(void)=0
Opens the file.