FlightGear next
|
#include <replay-internal.hxx>
Public Member Functions | |
FGReplayInternal () | |
virtual | ~FGReplayInternal () |
void | bind () |
void | init () |
void | reinit () |
void | unbind () |
void | update (double dt) |
bool | start (bool NewTape=false) |
Start replay session. | |
bool | saveTape (const SGPropertyNode *ConfigData) |
Write flight recorder tape to disk. | |
bool | loadTape (const SGPropertyNode *ConfigData) |
Load a flight recorder tape from disk. | |
bool | loadTape (const SGPath &filename, bool preview, bool create_video, double fixed_dt, SGPropertyNode &meta_meta, simgear::HTTP::FileRequestRef file_request=nullptr) |
Read a flight recorder tape with given filename from disk. | |
Static Public Member Functions | |
static const char * | staticSubsystemClassId () |
static int | loadContinuousHeader (const std::string &path, std::istream *in, SGPropertyNode *properties) |
static std::string | makeTapePath (const std::string &tape_name) |
Definition at line 102 of file replay-internal.hxx.
FGReplayInternal::FGReplayInternal | ( | ) |
Definition at line 115 of file replay-internal.cxx.
|
virtual |
Definition at line 227 of file replay-internal.cxx.
void FGReplayInternal::bind | ( | ) |
Definition at line 322 of file replay-internal.cxx.
void FGReplayInternal::init | ( | ) |
Definition at line 236 of file replay-internal.cxx.
|
static |
Definition at line 1800 of file replay-internal.cxx.
bool FGReplayInternal::loadTape | ( | const SGPath & | filename, |
bool | preview, | ||
bool | create_video, | ||
double | fixed_dt, | ||
SGPropertyNode & | meta_meta, | ||
simgear::HTTP::FileRequestRef | file_request = nullptr ) |
Read a flight recorder tape with given filename from disk.
Copies MetaData's "meta" node into MetaMeta out-param. Actual data and signal configuration is not read when in "Preview" mode.
If create_video is true we automatically encode a video while replaying. If fixed_dt is not zero we also set /sim/time/fixed-dt while replaying.
Definition at line 1589 of file replay-internal.cxx.
bool FGReplayInternal::loadTape | ( | const SGPropertyNode * | config_data | ) |
Load a flight recorder tape from disk.
User/script command.
Definition at line 1806 of file replay-internal.cxx.
|
static |
Definition at line 1789 of file replay-internal.cxx.
void FGReplayInternal::reinit | ( | ) |
Definition at line 294 of file replay-internal.cxx.
bool FGReplayInternal::saveTape | ( | const SGPropertyNode * | extra | ) |
Write flight recorder tape to disk.
User/script command.
Definition at line 1250 of file replay-internal.cxx.
bool FGReplayInternal::start | ( | bool | NewTape = false | ) |
Start replay session.
Definition at line 426 of file replay-internal.cxx.
|
inlinestatic |
Definition at line 114 of file replay-internal.hxx.
void FGReplayInternal::unbind | ( | ) |
Definition at line 327 of file replay-internal.cxx.
void FGReplayInternal::update | ( | double | dt | ) |
Definition at line 812 of file replay-internal.cxx.
std::unique_ptr<struct Continuous> FGReplayInternal::m_continuous |
Definition at line 191 of file replay-internal.hxx.
std::vector<FGReplayMessages>::iterator FGReplayInternal::m_current_msg |
Definition at line 156 of file replay-internal.hxx.
SGPropertyNode_ptr FGReplayInternal::m_disable_replay |
Definition at line 158 of file replay-internal.hxx.
std::shared_ptr<FGFlightRecorder> FGReplayInternal::m_flight_recorder |
Definition at line 188 of file replay-internal.hxx.
double FGReplayInternal::m_high_res_time |
Definition at line 182 of file replay-internal.hxx.
double FGReplayInternal::m_last_lt_time |
Definition at line 145 of file replay-internal.hxx.
double FGReplayInternal::m_last_msg_time |
Definition at line 146 of file replay-internal.hxx.
double FGReplayInternal::m_last_mt_time |
Definition at line 144 of file replay-internal.hxx.
int FGReplayInternal::m_last_replay_state |
Definition at line 147 of file replay-internal.hxx.
SGPropertyNode_ptr FGReplayInternal::m_log_frame_times |
Definition at line 171 of file replay-internal.hxx.
double FGReplayInternal::m_long_sample_rate |
Definition at line 186 of file replay-internal.hxx.
std::deque<FGReplayData*> FGReplayInternal::m_long_term |
Definition at line 152 of file replay-internal.hxx.
double FGReplayInternal::m_low_res_time |
Definition at line 184 of file replay-internal.hxx.
double FGReplayInternal::m_medium_res_time |
Definition at line 183 of file replay-internal.hxx.
double FGReplayInternal::m_medium_sample_rate |
Definition at line 185 of file replay-internal.hxx.
std::deque<FGReplayData*> FGReplayInternal::m_medium_term |
Definition at line 151 of file replay-internal.hxx.
FGMultiplayMgr* FGReplayInternal::m_MultiplayMgr |
Definition at line 193 of file replay-internal.hxx.
SGPropertyNode_ptr FGReplayInternal::m_record_normal_begin |
Definition at line 169 of file replay-internal.hxx.
SGPropertyNode_ptr FGReplayInternal::m_record_normal_end |
Definition at line 170 of file replay-internal.hxx.
SGPropertyNode_ptr FGReplayInternal::m_recovery_period |
Definition at line 167 of file replay-internal.hxx.
std::deque<FGReplayData*> FGReplayInternal::m_recycler |
Definition at line 153 of file replay-internal.hxx.
SGPropertyNode_ptr FGReplayInternal::m_replay_duration_act |
Definition at line 164 of file replay-internal.hxx.
SGPropertyNode_ptr FGReplayInternal::m_replay_error |
Definition at line 168 of file replay-internal.hxx.
SGPropertyNode_ptr FGReplayInternal::m_replay_looped |
Definition at line 163 of file replay-internal.hxx.
SGPropertyNode_ptr FGReplayInternal::m_replay_master |
Definition at line 159 of file replay-internal.hxx.
SGPropertyNode_ptr FGReplayInternal::m_replay_master_eof |
Definition at line 160 of file replay-internal.hxx.
std::vector<FGReplayMessages> FGReplayInternal::m_replay_messages |
Definition at line 155 of file replay-internal.hxx.
SGPropertyNode_ptr FGReplayInternal::m_replay_multiplayer |
Definition at line 166 of file replay-internal.hxx.
SGPropertyNode_ptr FGReplayInternal::m_replay_time |
Definition at line 161 of file replay-internal.hxx.
double FGReplayInternal::m_replay_time_prev |
Definition at line 179 of file replay-internal.hxx.
SGPropertyNode_ptr FGReplayInternal::m_replay_time_str |
Definition at line 162 of file replay-internal.hxx.
std::deque<FGReplayData*> FGReplayInternal::m_short_term |
Definition at line 150 of file replay-internal.hxx.
SGPropertyNode_ptr FGReplayInternal::m_sim_startup_xpos |
Definition at line 173 of file replay-internal.hxx.
SGPropertyNode_ptr FGReplayInternal::m_sim_startup_xsize |
Definition at line 175 of file replay-internal.hxx.
SGPropertyNode_ptr FGReplayInternal::m_sim_startup_ypos |
Definition at line 174 of file replay-internal.hxx.
SGPropertyNode_ptr FGReplayInternal::m_sim_startup_ysize |
Definition at line 176 of file replay-internal.hxx.
double FGReplayInternal::m_sim_time |
Definition at line 142 of file replay-internal.hxx.
SGPropertyNode_ptr FGReplayInternal::m_simple_time_enabled |
Definition at line 177 of file replay-internal.hxx.
SGPropertyNode_ptr FGReplayInternal::m_speed_up |
Definition at line 165 of file replay-internal.hxx.
bool FGReplayInternal::m_was_finished_already {false} |
Definition at line 148 of file replay-internal.hxx.