Avionics
Dropship Simulator
Fdr Class Reference

Flight Data Recorder. More...

#include <Module.h>

Inheritance diagram for Fdr:
[legend]
Collaboration diagram for Fdr:
[legend]

Public Member Functions

 Fdr (Bus *prmBus, Logger *prmLogger)
 
void FrameMove (float fElapsedTime) override
 
 ~Fdr ()
 
- Public Member Functions inherited from Module
 Module (Bus *prmBus)
 
virtual ~Module ()
 

Private Attributes

Loggerlogger
 
Busbus
 
float secSinceLast = 0.0f
 
int fdrfile
 

Additional Inherited Members

- Protected Attributes inherited from Module
Busbus
 

Detailed Description

Flight Data Recorder.

Definition at line 353 of file Module.h.

Constructor & Destructor Documentation

◆ Fdr()

Fdr::Fdr ( Bus prmBus,
Logger prmLogger 
)

initialize file

Definition at line 6 of file FDR.cpp.

Here is the call graph for this function:

◆ ~Fdr()

Fdr::~Fdr ( )

close out file

Definition at line 134 of file FDR.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ FrameMove()

void Fdr::FrameMove ( float  fElapsedTime)
overridevirtual

write data

Implements Module.

Definition at line 27 of file FDR.cpp.

Member Data Documentation

◆ bus

Bus* Fdr::bus
private

Definition at line 357 of file Module.h.

◆ fdrfile

int Fdr::fdrfile
private

Definition at line 359 of file Module.h.

◆ logger

Logger* Fdr::logger
private

Definition at line 356 of file Module.h.

◆ secSinceLast

float Fdr::secSinceLast = 0.0f
private

Definition at line 358 of file Module.h.


The documentation for this class was generated from the following files: