FlightGear next
FGReplay Struct Reference

#include <replay.hxx>

Inherits SGSubsystem.

Public Member Functions

 FGReplay ()
 
virtual ~FGReplay ()
 
void bind () override
 
void init () override
 
void reinit () override
 
void unbind () override
 
void update (double dt) override
 
bool start (bool new_tape=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)
 

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)
 
static void resetStatisticsProperties ()
 

Public Attributes

std::unique_ptr< struct FGReplayInternalm_internal
 

Detailed Description

Definition at line 33 of file replay.hxx.

Constructor & Destructor Documentation

◆ FGReplay()

FGReplay::FGReplay ( )

Definition at line 29 of file replay.cxx.

◆ ~FGReplay()

FGReplay::~FGReplay ( )
virtual

Definition at line 35 of file replay.cxx.

Member Function Documentation

◆ bind()

void FGReplay::bind ( )
override

Definition at line 52 of file replay.cxx.

◆ init()

void FGReplay::init ( )
override

Definition at line 40 of file replay.cxx.

◆ loadContinuousHeader()

int FGReplay::loadContinuousHeader ( const std::string & path,
std::istream * in,
SGPropertyNode * properties )
static

Definition at line 108 of file replay.cxx.

◆ loadTape() [1/2]

bool FGReplay::loadTape ( const SGPath & filename,
bool preview,
bool create_video,
double fixed_dt,
SGPropertyNode & meta_meta,
simgear::HTTP::FileRequestRef file_request = nullptr )

Definition at line 90 of file replay.cxx.

◆ loadTape() [2/2]

bool FGReplay::loadTape ( const SGPropertyNode * ConfigData)

Load a flight recorder tape from disk.

User/script command.

Definition at line 115 of file replay.cxx.

◆ makeTapePath()

std::string FGReplay::makeTapePath ( const std::string & tape_name)
static

Definition at line 103 of file replay.cxx.

◆ reinit()

void FGReplay::reinit ( )
override

Definition at line 46 of file replay.cxx.

◆ resetStatisticsProperties()

void FGReplay::resetStatisticsProperties ( )
static

Definition at line 119 of file replay.cxx.

◆ saveTape()

bool FGReplay::saveTape ( const SGPropertyNode * Extra)

Write flight recorder tape to disk.

User/script command.

Definition at line 83 of file replay.cxx.

◆ start()

bool FGReplay::start ( bool new_tape = false)

Start replay session.

Definition at line 67 of file replay.cxx.

◆ staticSubsystemClassId()

static const char * FGReplay::staticSubsystemClassId ( )
inlinestatic

Definition at line 46 of file replay.hxx.

◆ unbind()

void FGReplay::unbind ( )
override

Definition at line 58 of file replay.cxx.

◆ update()

void FGReplay::update ( double dt)
override

Definition at line 73 of file replay.cxx.

Member Data Documentation

◆ m_internal

std::unique_ptr<struct FGReplayInternal> FGReplay::m_internal

Definition at line 104 of file replay.hxx.


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