Public Member Functions | Private Member Functions | Private Attributes | List of all members
rsimpl::timestamp_corrector Class Reference

#include <timestamps.h>

Inheritance diagram for rsimpl::timestamp_corrector:
Inheritance graph
[legend]

Public Member Functions

void correct_timestamp (frame_interface &frame, rs_stream stream) override
 
void on_timestamp (rs_timestamp_data data) override
 
void release () override
 
 timestamp_corrector (std::atomic< uint32_t > *event_queue_size, std::atomic< uint32_t > *events_timeout)
 
 ~timestamp_corrector () override
 
- Public Member Functions inherited from rsimpl::timestamp_corrector_interface
virtual ~timestamp_corrector_interface ()
 

Private Member Functions

void update_source_id (rs_event_source &source_id, const rs_stream stream)
 

Private Attributes

std::condition_variable cv
 
concurrent_queue data_queue [RS_EVENT_SOURCE_COUNT]
 
std::atomic< uint32_t > * event_queue_size
 
std::atomic< uint32_t > * events_timeout
 
std::mutex mtx
 

Detailed Description

Definition at line 49 of file timestamps.h.

Constructor & Destructor Documentation

timestamp_corrector::timestamp_corrector ( std::atomic< uint32_t > *  event_queue_size,
std::atomic< uint32_t > *  events_timeout 
)

Definition at line 71 of file timestamps.cpp.

timestamp_corrector::~timestamp_corrector ( )
override

Definition at line 76 of file timestamps.cpp.

Member Function Documentation

void timestamp_corrector::correct_timestamp ( frame_interface frame,
rs_stream  stream 
)
overridevirtual

Implements rsimpl::timestamp_corrector_interface.

Definition at line 110 of file timestamps.cpp.

void timestamp_corrector::on_timestamp ( rs_timestamp_data  data)
overridevirtual

Implements rsimpl::timestamp_corrector_interface.

Definition at line 80 of file timestamps.cpp.

void rsimpl::timestamp_corrector::release ( )
inlineoverridevirtual

Implements rsimpl::timestamp_corrector_interface.

Definition at line 55 of file timestamps.h.

void timestamp_corrector::update_source_id ( rs_event_source source_id,
const rs_stream  stream 
)
private

Definition at line 92 of file timestamps.cpp.

Member Data Documentation

std::condition_variable rsimpl::timestamp_corrector::cv
private

Definition at line 62 of file timestamps.h.

concurrent_queue rsimpl::timestamp_corrector::data_queue[RS_EVENT_SOURCE_COUNT]
private

Definition at line 61 of file timestamps.h.

std::atomic<uint32_t>* rsimpl::timestamp_corrector::event_queue_size
private

Definition at line 63 of file timestamps.h.

std::atomic<uint32_t>* rsimpl::timestamp_corrector::events_timeout
private

Definition at line 64 of file timestamps.h.

std::mutex rsimpl::timestamp_corrector::mtx
private

Definition at line 60 of file timestamps.h.


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


librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Fri Mar 13 2020 03:16:19