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

#include <ds5-timestamp.h>

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

Public Member Functions

 ds5_timestamp_reader_from_metadata (std::unique_ptr< frame_timestamp_reader > backup_timestamp_reader)
 
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
 
bool has_metadata (const std::shared_ptr< frame_interface > &frame)
 
void reset () override
 
- Public Member Functions inherited from librealsense::frame_timestamp_reader
virtual ~frame_timestamp_reader ()
 

Private Attributes

std::unique_ptr< frame_timestamp_reader_backup_timestamp_reader
 
std::vector< std::atomic< bool > > _has_metadata
 
std::recursive_mutex _mtx
 
bool one_time_note
 

Static Private Attributes

static const int pins = 2
 

Detailed Description

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

Constructor & Destructor Documentation

librealsense::ds5_timestamp_reader_from_metadata::ds5_timestamp_reader_from_metadata ( std::unique_ptr< frame_timestamp_reader backup_timestamp_reader)

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

Member Function Documentation

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

Implements librealsense::frame_timestamp_reader.

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

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

Implements librealsense::frame_timestamp_reader.

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

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

Implements librealsense::frame_timestamp_reader.

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

bool librealsense::ds5_timestamp_reader_from_metadata::has_metadata ( const std::shared_ptr< frame_interface > &  frame)

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

void librealsense::ds5_timestamp_reader_from_metadata::reset ( void  )
overridevirtual

Implements librealsense::frame_timestamp_reader.

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

Member Data Documentation

std::unique_ptr<frame_timestamp_reader> librealsense::ds5_timestamp_reader_from_metadata::_backup_timestamp_reader
private

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

std::vector<std::atomic<bool> > librealsense::ds5_timestamp_reader_from_metadata::_has_metadata
private

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

std::recursive_mutex librealsense::ds5_timestamp_reader_from_metadata::_mtx
mutableprivate

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

bool librealsense::ds5_timestamp_reader_from_metadata::one_time_note
private

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

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

Definition at line 16 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