#include <assert.h>
#include <stdio.h>
#include <string.h>
#include <Main/fg_props.hxx>
#include <MultiPlayer/mpmessages.hxx>
#include <MultiPlayer/multiplaymgr.hxx>
#include <simgear/debug/logstream.hxx>
#include <simgear/math/SGMath.hxx>
#include <simgear/misc/ResourceManager.hxx>
#include <simgear/misc/strutils.hxx>
#include <simgear/props/props_io.hxx>
#include <simgear/structure/exception.hxx>
#include "flightrecorder.hxx"
Go to the source code of this file.
|
static void | s_Append (std::vector< char > &out, const void *data, size_t data_len) |
|
static void | s_AppendNumber (std::vector< char > &out, int16_t number) |
|
static void | s_AppendString (std::vector< char > &out, const std::string &s) |
|
static void | s_RecordPropertyDiffs (std::vector< char > &out, SGPropertyNode *a, SGPropertyNode *b, const std::vector< const char * > *path_exclude_prefixes) |
|
static double | weighting (TInterpolation interpolation, double ratio, double v1, double v2) |
| Do interpolation as defined by given interpolation type and weighting ratio.
|
|
static void | setInt (const std::string &value, int *out) |
|
static void | string_to_double (const std::string &s, double &out, bool &ok) |
|
static void | replayProperty (const std::string &path, const std::string &value_next_string, const FGReplayData *frame_prev, double ratio) |
|
◆ replayProperty()
static void replayProperty |
( |
const std::string & | path, |
|
|
const std::string & | value_next_string, |
|
|
const FGReplayData * | frame_prev, |
|
|
double | ratio ) |
|
static |
◆ s_Append()
static void s_Append |
( |
std::vector< char > & | out, |
|
|
const void * | data, |
|
|
size_t | data_len ) |
|
static |
◆ s_AppendNumber()
static void s_AppendNumber |
( |
std::vector< char > & | out, |
|
|
int16_t | number ) |
|
static |
◆ s_AppendString()
static void s_AppendString |
( |
std::vector< char > & | out, |
|
|
const std::string & | s ) |
|
static |
◆ s_RecordPropertyDiffs()
static void s_RecordPropertyDiffs |
( |
std::vector< char > & | out, |
|
|
SGPropertyNode * | a, |
|
|
SGPropertyNode * | b, |
|
|
const std::vector< const char * > * | path_exclude_prefixes ) |
|
static |
◆ setInt()
static void setInt |
( |
const std::string & | value, |
|
|
int * | out ) |
|
static |
◆ string_to_double()
static void string_to_double |
( |
const std::string & | s, |
|
|
double & | out, |
|
|
bool & | ok ) |
|
static |
◆ weighting()
static double weighting |
( |
TInterpolation | interpolation, |
|
|
double | ratio, |
|
|
double | v1, |
|
|
double | v2 ) |
|
static |
Do interpolation as defined by given interpolation type and weighting ratio.
Definition at line 608 of file flightrecorder.cxx.
◆ s_record_extra_properties