Public Member Functions | Private Member Functions | Private Attributes
rsimpl::timestamp_corrector Class Reference

#include <timestamps.h>

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

List of all members.

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

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.

Definition at line 76 of file timestamps.cpp.


Member Function Documentation

void timestamp_corrector::correct_timestamp ( frame_interface frame,
rs_stream  stream 
) [override, virtual]

Implements rsimpl::timestamp_corrector_interface.

Definition at line 110 of file timestamps.cpp.

Implements rsimpl::timestamp_corrector_interface.

Definition at line 80 of file timestamps.cpp.

void rsimpl::timestamp_corrector::release ( ) [inline, override, virtual]

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.

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 Tue Jun 25 2019 19:54:41