2 #ifndef LIBREALSENSE_TIMESTAMPS_H 3 #define LIBREALSENSE_TIMESTAMPS_H 5 #include "../include/librealsense/rs.h" 7 #include <condition_variable> 29 bool pop_front_data();
45 virtual void release() = 0;
51 timestamp_corrector(std::atomic<uint32_t>* event_queue_size, std::atomic<uint32_t>* events_timeout);
62 std::condition_variable
cv;
71 #endif // LIBREALSENSE_TIMESTAMPS_H std::atomic< uint32_t > * event_queue_size
std::atomic< uint32_t > * events_timeout
frame_metadata
Types of value provided from the device with each frame.
std::deque< rs_timestamp_data > data_queue
virtual ~frame_interface()
rs_timestamp_domain
Specifies the clock in relation to which the frame timestamp was measured.
virtual void set_timestamp(double new_ts)=0
timestamp_domain
Specifies the clock in relation to which the frame timestamp was measured.
virtual void set_timestamp_domain(rs_timestamp_domain timestamp_domain)=0
virtual ~timestamp_corrector_interface()
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const void * data
Timestamp data from the motion microcontroller.
virtual rs_stream get_stream_type() const =0
virtual bool supports_frame_metadata(rs_frame_metadata frame_metadata) const =0
rs_stream
Streams are different types of data provided by RealSense devices.
std::condition_variable cv
virtual unsigned long long get_frame_number() const =0
rs_frame_metadata
Types of value provided from the device with each frame.
rs_event_source
Source device that triggered a specific timestamp event from the motion module.
virtual double get_frame_metadata(rs_frame_metadata frame_metadata) const =0