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

#include <global_timestamp_reader.h>

Public Member Functions

double get_system_hw_time (double crnt_hw_time, bool &is_ready)
 
void start ()
 
void stop ()
 
 time_diff_keeper (global_time_interface *dev, const unsigned int sampling_interval_ms)
 
 ~time_diff_keeper ()
 

Private Member Functions

void polling (dispatcher::cancellable_timer cancellable_timer)
 
bool update_diff_time ()
 

Private Attributes

active_object _active_object
 
CLinearCoefficients _coefs
 
global_time_interface_device
 
std::recursive_mutex _enable_mtx
 
bool _is_ready
 
double _min_command_delay
 
unsigned int _poll_intervals_ms
 
std::recursive_mutex _read_mtx
 
int _users_count
 

Detailed Description

Definition at line 61 of file global_timestamp_reader.h.

Constructor & Destructor Documentation

librealsense::time_diff_keeper::time_diff_keeper ( global_time_interface dev,
const unsigned int  sampling_interval_ms 
)
explicit

Definition at line 157 of file global_timestamp_reader.cpp.

librealsense::time_diff_keeper::~time_diff_keeper ( )

Definition at line 197 of file global_timestamp_reader.cpp.

Member Function Documentation

double librealsense::time_diff_keeper::get_system_hw_time ( double  crnt_hw_time,
bool &  is_ready 
)

Definition at line 258 of file global_timestamp_reader.cpp.

void librealsense::time_diff_keeper::polling ( dispatcher::cancellable_timer  cancellable_timer)
private

Definition at line 248 of file global_timestamp_reader.cpp.

void librealsense::time_diff_keeper::start ( )

Definition at line 172 of file global_timestamp_reader.cpp.

void librealsense::time_diff_keeper::stop ( )

Definition at line 180 of file global_timestamp_reader.cpp.

bool librealsense::time_diff_keeper::update_diff_time ( )
private

Definition at line 202 of file global_timestamp_reader.cpp.

Member Data Documentation

active_object librealsense::time_diff_keeper::_active_object
private

Definition at line 78 of file global_timestamp_reader.h.

CLinearCoefficients librealsense::time_diff_keeper::_coefs
private

Definition at line 81 of file global_timestamp_reader.h.

global_time_interface* librealsense::time_diff_keeper::_device
private

Definition at line 75 of file global_timestamp_reader.h.

std::recursive_mutex librealsense::time_diff_keeper::_enable_mtx
mutableprivate

Definition at line 80 of file global_timestamp_reader.h.

bool librealsense::time_diff_keeper::_is_ready
private

Definition at line 83 of file global_timestamp_reader.h.

double librealsense::time_diff_keeper::_min_command_delay
private

Definition at line 82 of file global_timestamp_reader.h.

unsigned int librealsense::time_diff_keeper::_poll_intervals_ms
private

Definition at line 76 of file global_timestamp_reader.h.

std::recursive_mutex librealsense::time_diff_keeper::_read_mtx
mutableprivate

Definition at line 79 of file global_timestamp_reader.h.

int librealsense::time_diff_keeper::_users_count
private

Definition at line 77 of file global_timestamp_reader.h.


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


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