23 record_device(std::shared_ptr<device_interface>
device, std::shared_ptr<device_serializer::writer> serializer);
26 std::shared_ptr<context>
get_context()
const override;
53 template <rs2_extension E,
typename P>
bool extend_to_aux(std::shared_ptr<P>
p,
void** ext);
64 std::vector<std::shared_ptr<record_sensor>>
m_sensors;
std::shared_ptr< device_serializer::writer > m_ros_writer
rs2_camera_info
Read-only strings that can be queried from the device. Not all information attributes are available o...
bool contradicts(const stream_profile_interface *a, const std::vector< stream_profile > &others) const override
sensor_interface & get_sensor(size_t i) override
bool compress_while_record() const override
device_serializer::snapshot_collection get_extensions_snapshots(T *extendable)
void write_data(size_t sensor_index, frame_holder f, std::function< void(std::string const &)> on_error)
std::chrono::high_resolution_clock::time_point m_capture_time_base
std::shared_ptr< device_interface > m_device
void hardware_reset() override
GLsizei const GLchar *const * string
virtual std::shared_ptr< matcher > create_matcher(const frame_holder &frame) const override
platform::backend_device_group get_device_data() const override
int m_on_notification_token
void try_add_snapshot(T *extendable, device_serializer::snapshot_collection &snapshots)
std::chrono::nanoseconds get_capture_time() const
GLboolean GLboolean GLboolean GLboolean a
def info(name, value, persistent=False)
std::once_flag m_first_frame_flag
bool extend_to(rs2_extension extension_type, void **ext) override
bool is_valid() const override
std::shared_ptr< context > get_context() const override
void tag_profiles(stream_profiles profiles) const override
bool extend_to_aux(std::shared_ptr< P > p, void **ext)
size_t get_sensors_count() const override
std::once_flag m_first_call_flag
std::vector< tagged_profile > get_profiles_tags() const override
void write_sensor_extension_snapshot(size_t sensor_index, rs2_extension ext, std::shared_ptr< extension_snapshot > snapshot, std::function< void(std::string const &)> on_error)
void initialize_recording()
lazy< std::shared_ptr< dispatcher > > m_write_thread
unsigned __int64 uint64_t
bool supports_info(rs2_camera_info info) const override
int m_on_extension_change_token
std::vector< std::shared_ptr< record_sensor > > create_record_sensors(std::shared_ptr< device_interface > m_device)
std::vector< std::shared_ptr< stream_profile_interface >> stream_profiles
std::chrono::duration< uint64_t, std::nano > nanoseconds
rs2_extension
Specifies advanced interfaces (capabilities) objects may implement.
record_device(std::shared_ptr< device_interface > device, std::shared_ptr< device_serializer::writer > serializer)
std::chrono::high_resolution_clock::duration m_record_pause_time
void write_notification(size_t sensor_index, const notification &n)
std::vector< std::shared_ptr< record_sensor > > m_sensors
uint64_t m_cached_data_size
std::pair< uint32_t, rs2_extrinsics > get_extrinsics(const stream_interface &stream) const override
std::chrono::high_resolution_clock::time_point m_time_of_pause
void stop_gracefully(to_string error_msg)
const std::string & get_filename() const
void write_device_extension_changes(const T &ext)
MAP_EXTENSION(RS2_EXTENSION_POINTS, librealsense::points)
const std::string & get_info(rs2_camera_info info) const override
static const uint64_t MAX_CACHED_DATA_SIZE