Public Member Functions | Private Member Functions | Private Attributes | List of all members
librealsense::CLinearCoefficients Class Reference

#include <global_timestamp_reader.h>

Public Member Functions

void add_const_y_coefs (double dy)
void add_value (CSample val)
double calc_value (double x) const
 CLinearCoefficients (unsigned int buffer_size)
bool is_full () const
void reset ()
void update_last_sample_time (double x)
bool update_samples_base (double x)

Private Member Functions

void calc_linear_coefs ()
void get_a_b (double x, double &a, double &b) const

Private Attributes

CSample _base_sample
unsigned int _buffer_size
double _dest_a
double _dest_b
double _last_request_time
std::deque< CSample_last_values
double _prev_a
double _prev_b
double _prev_time
double _time_span_ms

Detailed Description

Definition at line 33 of file global_timestamp_reader.h.

Constructor & Destructor Documentation

librealsense::CLinearCoefficients::CLinearCoefficients ( unsigned int  buffer_size)

Definition at line 24 of file global_timestamp_reader.cpp.

Member Function Documentation

void librealsense::CLinearCoefficients::add_const_y_coefs ( double  dy)

Definition at line 51 of file global_timestamp_reader.cpp.

void librealsense::CLinearCoefficients::add_value ( CSample  val)

Definition at line 41 of file global_timestamp_reader.cpp.

void librealsense::CLinearCoefficients::calc_linear_coefs ( )

Definition at line 59 of file global_timestamp_reader.cpp.

double librealsense::CLinearCoefficients::calc_value ( double  x) const

Definition at line 118 of file global_timestamp_reader.cpp.

void librealsense::CLinearCoefficients::get_a_b ( double  x,
double &  a,
double &  b 
) const

Definition at line 106 of file global_timestamp_reader.cpp.

bool librealsense::CLinearCoefficients::is_full ( ) const

Definition at line 36 of file global_timestamp_reader.cpp.

void librealsense::CLinearCoefficients::reset ( void  )

Definition at line 31 of file global_timestamp_reader.cpp.

void librealsense::CLinearCoefficients::update_last_sample_time ( double  x)

Definition at line 152 of file global_timestamp_reader.cpp.

bool librealsense::CLinearCoefficients::update_samples_base ( double  x)

Definition at line 127 of file global_timestamp_reader.cpp.

Member Data Documentation

CSample librealsense::CLinearCoefficients::_base_sample

Definition at line 52 of file global_timestamp_reader.h.

unsigned int librealsense::CLinearCoefficients::_buffer_size

Definition at line 50 of file global_timestamp_reader.h.

double librealsense::CLinearCoefficients::_dest_a

Definition at line 54 of file global_timestamp_reader.h.

double librealsense::CLinearCoefficients::_dest_b

Definition at line 54 of file global_timestamp_reader.h.

double librealsense::CLinearCoefficients::_last_request_time

Definition at line 56 of file global_timestamp_reader.h.

std::deque<CSample> librealsense::CLinearCoefficients::_last_values

Definition at line 51 of file global_timestamp_reader.h.

double librealsense::CLinearCoefficients::_prev_a

Definition at line 53 of file global_timestamp_reader.h.

double librealsense::CLinearCoefficients::_prev_b

Definition at line 53 of file global_timestamp_reader.h.

double librealsense::CLinearCoefficients::_prev_time

Definition at line 55 of file global_timestamp_reader.h.

double librealsense::CLinearCoefficients::_time_span_ms

Definition at line 55 of file global_timestamp_reader.h.

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

Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:37