FlightGear next
|
#include <flightrecorder.hxx>
Public Member Functions | |
FGFlightRecorder (const char *pConfigName) | |
virtual | ~FGFlightRecorder () |
void | reinit () |
void | reinit (SGPropertyNode_ptr ConfigNode) |
FGReplayData * | capture (double SimTime, FGReplayData *pRecycledBuffer) |
Capture data. | |
void | replay (double SimTime, const FGReplayData *pNextBuffer, const FGReplayData *pLastBuffer, int *main_window_xpos, int *main_window_ypos, int *main_window_xsize, int *main_window_ysize) |
Replay. | |
int | getRecordSize () |
void | getConfig (SGPropertyNode *root) |
void | resetExtraProperties () |
Definition at line 33 of file flightrecorder.hxx.
|
explicit |
Definition at line 198 of file flightrecorder.cxx.
|
virtual |
Definition at line 214 of file flightrecorder.cxx.
FGReplayData * FGFlightRecorder::capture | ( | double | SimTime, |
FGReplayData * | ReplayData ) |
Capture data.
When pBuffer==NULL new memory is allocated. If pBuffer!=NULL memory of given buffer is reused.
Definition at line 447 of file flightrecorder.cxx.
void FGFlightRecorder::getConfig | ( | SGPropertyNode * | root | ) |
Definition at line 979 of file flightrecorder.cxx.
|
inline |
Definition at line 51 of file flightrecorder.hxx.
void FGFlightRecorder::reinit | ( | ) |
Definition at line 219 of file flightrecorder.cxx.
void FGFlightRecorder::reinit | ( | SGPropertyNode_ptr | ConfigNode | ) |
Definition at line 236 of file flightrecorder.cxx.
void FGFlightRecorder::replay | ( | double | SimTime, |
const FGReplayData * | _pNextBuffer, | ||
const FGReplayData * | _pLastBuffer, | ||
int * | main_window_xpos, | ||
int * | main_window_ypos, | ||
int * | main_window_xsize, | ||
int * | main_window_ysize ) |
Replay.
Restore all properties with data from given buffer.
Definition at line 726 of file flightrecorder.cxx.
void FGFlightRecorder::resetExtraProperties | ( | ) |
Definition at line 641 of file flightrecorder.cxx.