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

#include <global_timestamp_reader.h>

Inheritance diagram for librealsense::global_timestamp_reader:
Inheritance graph
[legend]

Public Member Functions

unsigned long long get_frame_counter (const std::shared_ptr< frame_interface > &frame) const override
 
rs2_time_t get_frame_timestamp (const std::shared_ptr< frame_interface > &frame) override
 
rs2_timestamp_domain get_frame_timestamp_domain (const std::shared_ptr< frame_interface > &frame) const override
 
 global_timestamp_reader (std::unique_ptr< frame_timestamp_reader > device_timestamp_reader, std::shared_ptr< time_diff_keeper > timediff, std::shared_ptr< global_time_option >)
 
void reset () override
 
- Public Member Functions inherited from librealsense::frame_timestamp_reader
virtual ~frame_timestamp_reader ()
 

Private Attributes

std::unique_ptr< frame_timestamp_reader_device_timestamp_reader
 
std::recursive_mutex _mtx
 
std::shared_ptr< global_time_option_option_is_enabled
 
std::weak_ptr< time_diff_keeper_time_diff_keeper
 
bool _ts_is_ready
 

Detailed Description

Definition at line 86 of file global_timestamp_reader.h.

Constructor & Destructor Documentation

librealsense::global_timestamp_reader::global_timestamp_reader ( std::unique_ptr< frame_timestamp_reader device_timestamp_reader,
std::shared_ptr< time_diff_keeper timediff,
std::shared_ptr< global_time_option enable_option 
)

Definition at line 272 of file global_timestamp_reader.cpp.

Member Function Documentation

unsigned long long librealsense::global_timestamp_reader::get_frame_counter ( const std::shared_ptr< frame_interface > &  frame) const
overridevirtual

Implements librealsense::frame_timestamp_reader.

Definition at line 298 of file global_timestamp_reader.cpp.

double librealsense::global_timestamp_reader::get_frame_timestamp ( const std::shared_ptr< frame_interface > &  frame)
overridevirtual

Implements librealsense::frame_timestamp_reader.

Definition at line 282 of file global_timestamp_reader.cpp.

rs2_timestamp_domain librealsense::global_timestamp_reader::get_frame_timestamp_domain ( const std::shared_ptr< frame_interface > &  frame) const
overridevirtual

Implements librealsense::frame_timestamp_reader.

Definition at line 303 of file global_timestamp_reader.cpp.

void librealsense::global_timestamp_reader::reset ( void  )
overridevirtual

Implements librealsense::frame_timestamp_reader.

Definition at line 309 of file global_timestamp_reader.cpp.

Member Data Documentation

std::unique_ptr<frame_timestamp_reader> librealsense::global_timestamp_reader::_device_timestamp_reader
private

Definition at line 99 of file global_timestamp_reader.h.

std::recursive_mutex librealsense::global_timestamp_reader::_mtx
mutableprivate

Definition at line 101 of file global_timestamp_reader.h.

std::shared_ptr<global_time_option> librealsense::global_timestamp_reader::_option_is_enabled
private

Definition at line 102 of file global_timestamp_reader.h.

std::weak_ptr<time_diff_keeper> librealsense::global_timestamp_reader::_time_diff_keeper
private

Definition at line 100 of file global_timestamp_reader.h.

bool librealsense::global_timestamp_reader::_ts_is_ready
private

Definition at line 103 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:37