FlightGear next
|
record the history of the aircraft's movements, making it available as a contiguous block. More...
#include <FlightHistory.hxx>
Inherits SGSubsystem.
Public Member Functions | |
FGFlightHistory () | |
virtual | ~FGFlightHistory () |
void | init () override |
void | reinit () override |
void | shutdown () override |
void | update (double dt) override |
PagedPathForHistory_ptr | pagedPathForHistory (size_t max_entries, size_t newerThan=0) const |
SGGeodVec | pathForHistory (double minEdgeLengthM=50.0) const |
retrieve the path, collapsing segments shorter than the specified minimum length | |
void | clear () |
clear the history | |
Static Public Member Functions | |
static const char * | staticSubsystemClassId () |
record the history of the aircraft's movements, making it available as a contiguous block.
This can be used to show the historical flight-path over a long period of time (unlike the replay system), but only a small, fixed set of properties are recorded. (Positioned and orientation, but not velocity, acceleration, control inputs, or so on)
Definition at line 37 of file FlightHistory.hxx.
FGFlightHistory::FGFlightHistory | ( | ) |
Definition at line 41 of file FlightHistory.cxx.
|
virtual |
Definition at line 47 of file FlightHistory.cxx.
void FGFlightHistory::clear | ( | ) |
clear the history
Definition at line 213 of file FlightHistory.cxx.
|
override |
Definition at line 51 of file FlightHistory.cxx.
PagedPathForHistory_ptr FGFlightHistory::pagedPathForHistory | ( | size_t | max_entries, |
size_t | newerThan = 0 ) const |
Definition at line 151 of file FlightHistory.cxx.
SGGeodVec FGFlightHistory::pathForHistory | ( | double | minEdgeLengthM = 50.0 | ) | const |
retrieve the path, collapsing segments shorter than the specified minimum length
Definition at line 185 of file FlightHistory.cxx.
|
override |
Definition at line 80 of file FlightHistory.cxx.
|
override |
Definition at line 75 of file FlightHistory.cxx.
|
inlinestatic |
Definition at line 50 of file FlightHistory.hxx.
|
override |
Definition at line 86 of file FlightHistory.cxx.