21 void init(std::shared_ptr<metadata_parser_map> metadata_parsers);
27 std::shared_ptr<option> get_published_size_option();
40 double get_time()
const {
return _ts ? _ts->get_time() : 0; }
42 void set_sensor(
const std::shared_ptr<sensor_interface>&
s);
47 _archive[ex] = std::make_shared<frame_archive<T>>(&_max_publish_list_size, _ts, _metadata_parsers);
57 std::map<rs2_extension, std::shared_ptr<archive_interface>>
_archive;
61 std::shared_ptr<platform::time_service>
_ts;
frame_callback_ptr _callback
std::shared_ptr< platform::time_service > _ts
void add_extension(rs2_extension ex)
std::map< rs2_extension, std::shared_ptr< archive_interface > > _archive
std::shared_ptr< rs2_frame_callback > frame_callback_ptr
std::atomic< uint32_t > _max_publish_list_size
#define LRS_EXTENSION_API
void set_max_publish_list_size(int qsize)
std::mutex _callback_mutex
rs2_extension
Specifies advanced interfaces (capabilities) objects may implement.
std::shared_ptr< metadata_parser_map > _metadata_parsers