19 :_backup_timestamp_reader(
std::
move(backup_timestamp_reader)), _has_metadata(pins), one_time_note(false)
26 std::lock_guard<std::recursive_mutex>
lock(
_mtx);
31 LOG_ERROR(
"Frame is not valid. Failed to downcast to librealsense::frame.");
34 auto md =
f->additional_data.metadata_blob;
35 auto mds =
f->additional_data.metadata_size;
45 std::lock_guard<std::recursive_mutex>
lock(
_mtx);
50 LOG_ERROR(
"Frame is not valid. Failed to downcast to librealsense::frame.");
69 LOG_WARNING(
"UVC metadata payloads not available. Please refer to the installation chapter for details.");
78 std::lock_guard<std::recursive_mutex>
lock(
_mtx);
83 LOG_ERROR(
"Frame is not valid. Failed to downcast to librealsense::frame.");
94 if (md->capture_valid())
95 return md->payload.frame_counter;
103 std::lock_guard<std::recursive_mutex>
lock(
_mtx);
105 for (
auto i = 0;
i <
pins; ++
i)
113 std::lock_guard<std::recursive_mutex>
lock(
_mtx);
130 std::lock_guard<std::recursive_mutex>
lock(
_mtx);
131 for (
auto i = 0;
i <
pins; ++
i)
139 std::lock_guard<std::recursive_mutex>
lock(
_mtx);
140 return _ts->get_time();
145 std::lock_guard<std::recursive_mutex>
lock(
_mtx);
166 std::lock_guard<std::recursive_mutex>
lock(
_mtx);
167 for (
auto i = 0;
i < sensors; ++
i)
175 std::lock_guard<std::recursive_mutex>
lock(
_mtx);
176 static const uint8_t timestamp_offset = 17;
180 LOG_ERROR(
"Frame is not valid. Failed to downcast to librealsense::frame.");
198 std::lock_guard<std::recursive_mutex>
lock(
_mtx);
static const textual_icon lock
static const double TIMESTAMP_USEC_TO_MSEC
unsigned long long get_frame_counter(const std::shared_ptr< frame_interface > &frame) const override
bool has_metadata(const std::shared_ptr< frame_interface > &frame) const
std::recursive_mutex _mtx
ds5_timestamp_reader(std::shared_ptr< platform::time_service > ts)
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
rs2_time_t get_frame_timestamp(const std::shared_ptr< frame_interface > &frame) override
std::shared_ptr< platform::time_service > _ts
unsigned long long get_frame_counter(const std::shared_ptr< frame_interface > &frame) const override
rs2_timestamp_domain get_frame_timestamp_domain(const std::shared_ptr< frame_interface > &frame) const override
typename::boost::move_detail::remove_reference< T >::type && move(T &&t) BOOST_NOEXCEPT
ds5_custom_hid_timestamp_reader()
rs2_timestamp_domain
Specifies the clock in relation to which the frame timestamp was measured.