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

#include <ds5-timestamp.h>

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

Public Member Functions

 ds5_timestamp_reader (std::shared_ptr< platform::time_service > ts)
 
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
 
void reset () override
 
- Public Member Functions inherited from librealsense::frame_timestamp_reader
virtual ~frame_timestamp_reader ()
 

Private Attributes

std::recursive_mutex _mtx
 
std::shared_ptr< platform::time_service_ts
 
std::vector< int64_tcounter
 

Static Private Attributes

static const int pins = 2
 

Detailed Description

Definition at line 35 of file ds5-timestamp.h.

Constructor & Destructor Documentation

librealsense::ds5_timestamp_reader::ds5_timestamp_reader ( std::shared_ptr< platform::time_service ts)

Definition at line 122 of file ds5-timestamp.cpp.

Member Function Documentation

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

Implements librealsense::frame_timestamp_reader.

Definition at line 143 of file ds5-timestamp.cpp.

rs2_time_t librealsense::ds5_timestamp_reader::get_frame_timestamp ( const std::shared_ptr< frame_interface > &  frame)
overridevirtual

Implements librealsense::frame_timestamp_reader.

Definition at line 137 of file ds5-timestamp.cpp.

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

Implements librealsense::frame_timestamp_reader.

Definition at line 153 of file ds5-timestamp.cpp.

void librealsense::ds5_timestamp_reader::reset ( void  )
overridevirtual

Implements librealsense::frame_timestamp_reader.

Definition at line 128 of file ds5-timestamp.cpp.

Member Data Documentation

std::recursive_mutex librealsense::ds5_timestamp_reader::_mtx
mutableprivate

Definition at line 40 of file ds5-timestamp.h.

std::shared_ptr<platform::time_service> librealsense::ds5_timestamp_reader::_ts
private

Definition at line 39 of file ds5-timestamp.h.

std::vector<int64_t> librealsense::ds5_timestamp_reader::counter
mutableprivate

Definition at line 38 of file ds5-timestamp.h.

const int librealsense::ds5_timestamp_reader::pins = 2
staticprivate

Definition at line 37 of file ds5-timestamp.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