Public Member Functions | List of all members
librealsense::device_serializer::writer Class Referenceabstract

#include <serialization.h>

Inheritance diagram for librealsense::device_serializer::writer:
Inheritance graph
[legend]

Public Member Functions

virtual const std::stringget_file_name () const =0
 
virtual void write_device_description (const device_snapshot &device_description)=0
 
virtual void write_frame (const stream_identifier &stream_id, const nanoseconds &timestamp, frame_holder &&frame)=0
 
virtual void write_notification (const sensor_identifier &stream_id, const nanoseconds &timestamp, const notification &n)=0
 
virtual void write_snapshot (uint32_t device_index, const nanoseconds &timestamp, rs2_extension type, const std::shared_ptr< extension_snapshot > &snapshot)=0
 
virtual void write_snapshot (const sensor_identifier &sensor_id, const nanoseconds &timestamp, rs2_extension type, const std::shared_ptr< extension_snapshot > &snapshot)=0
 
virtual ~writer ()=default
 

Detailed Description

Definition at line 324 of file src/core/serialization.h.

Constructor & Destructor Documentation

virtual librealsense::device_serializer::writer::~writer ( )
virtualdefault

Member Function Documentation

virtual const std::string& librealsense::device_serializer::writer::get_file_name ( ) const
pure virtual

Implemented in librealsense::ros_writer.

virtual void librealsense::device_serializer::writer::write_device_description ( const device_snapshot device_description)
pure virtual

Implemented in librealsense::ros_writer.

virtual void librealsense::device_serializer::writer::write_frame ( const stream_identifier stream_id,
const nanoseconds timestamp,
frame_holder &&  frame 
)
pure virtual

Implemented in librealsense::ros_writer.

virtual void librealsense::device_serializer::writer::write_notification ( const sensor_identifier stream_id,
const nanoseconds timestamp,
const notification n 
)
pure virtual

Implemented in librealsense::ros_writer.

virtual void librealsense::device_serializer::writer::write_snapshot ( uint32_t  device_index,
const nanoseconds timestamp,
rs2_extension  type,
const std::shared_ptr< extension_snapshot > &  snapshot 
)
pure virtual

Implemented in librealsense::ros_writer.

virtual void librealsense::device_serializer::writer::write_snapshot ( const sensor_identifier sensor_id,
const nanoseconds timestamp,
rs2_extension  type,
const std::shared_ptr< extension_snapshot > &  snapshot 
)
pure virtual

Implemented in librealsense::ros_writer.


The documentation for this class was generated from the following file:


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Sat Apr 3 2021 02:51:27