#include <frame-archive.h>
Public Member Functions | |
frame_interface * | alloc_and_track (const size_t size, const frame_additional_data &additional_data, bool requires_memory) override |
callback_invocation_holder | begin_callback () override |
void | flush () override |
frame_archive (std::atomic< uint32_t > *in_max_frame_queue_size, std::shared_ptr< platform::time_service > ts, std::shared_ptr< metadata_parser_map > parsers) | |
void | release_frame_ref (frame_interface *ref) |
~frame_archive () | |
Public Member Functions inherited from librealsense::archive_interface | |
virtual | ~archive_interface ()=default |
Public Member Functions inherited from librealsense::sensor_part | |
virtual | ~sensor_part ()=default |
Private Member Functions | |
T | alloc_frame (const size_t size, const frame_additional_data &additional_data, bool requires_memory) |
std::shared_ptr< metadata_parser_map > | get_md_parsers () const override |
std::shared_ptr< sensor_interface > | get_sensor () const override |
void | keep_frame (frame_interface *frame) override |
void | log_frame_callback_end (T *frame) const |
frame_interface * | publish_frame (frame_interface *frame) override |
void | set_sensor (std::shared_ptr< sensor_interface > s) override |
frame_interface * | track_frame (T &f) |
void | unpublish_frame (frame_interface *frame) override |
Private Attributes | |
std::shared_ptr< metadata_parser_map > | _metadata_parsers = nullptr |
std::weak_ptr< sensor_interface > | _sensor |
std::shared_ptr< platform::time_service > | _time_service |
callbacks_heap | callback_inflight |
std::vector< T > | freelist |
std::atomic< uint32_t > * | max_frame_queue_size |
std::recursive_mutex | mutex |
int | pending_frames = 0 |
small_heap< T, RS2_USER_QUEUE_SIZE > | published_frames |
std::atomic< uint32_t > | published_frames_count |
std::atomic< bool > | recycle_frames |
Friends | |
class | frame |
Definition at line 11 of file frame-archive.h.
|
inlineexplicit |
Definition at line 165 of file frame-archive.h.
|
inline |
Definition at line 220 of file frame-archive.h.
|
inlineoverridevirtual |
Implements librealsense::archive_interface.
Definition at line 185 of file frame-archive.h.
|
inlineprivate |
Definition at line 29 of file frame-archive.h.
|
inlineoverridevirtual |
Implements librealsense::archive_interface.
Definition at line 175 of file frame-archive.h.
|
inlineoverridevirtual |
Implements librealsense::archive_interface.
Definition at line 191 of file frame-archive.h.
|
inlineoverrideprivatevirtual |
Implements librealsense::archive_interface.
Definition at line 160 of file frame-archive.h.
|
inlineoverrideprivatevirtual |
Implements librealsense::sensor_part.
Definition at line 26 of file frame-archive.h.
|
inlineoverrideprivatevirtual |
Implements librealsense::archive_interface.
Definition at line 104 of file frame-archive.h.
|
inlineprivate |
Definition at line 139 of file frame-archive.h.
|
inlineoverrideprivatevirtual |
Implements librealsense::archive_interface.
Definition at line 109 of file frame-archive.h.
|
inline |
Definition at line 180 of file frame-archive.h.
|
inlineoverrideprivatevirtual |
Implements librealsense::sensor_part.
Definition at line 27 of file frame-archive.h.
|
inlineprivate |
Definition at line 66 of file frame-archive.h.
|
inlineoverrideprivatevirtual |
Implements librealsense::archive_interface.
Definition at line 81 of file frame-archive.h.
|
friend |
Definition at line 160 of file frame-archive.h.
|
private |
Definition at line 16 of file frame-archive.h.
|
private |
Definition at line 25 of file frame-archive.h.
|
private |
Definition at line 23 of file frame-archive.h.
|
private |
Definition at line 17 of file frame-archive.h.
|
private |
Definition at line 19 of file frame-archive.h.
|
private |
Definition at line 13 of file frame-archive.h.
|
private |
Definition at line 22 of file frame-archive.h.
|
private |
Definition at line 21 of file frame-archive.h.
|
private |
Definition at line 15 of file frame-archive.h.
|
private |
Definition at line 14 of file frame-archive.h.
|
private |
Definition at line 20 of file frame-archive.h.