Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
Public Member Functions | List of all members
librealsense::ros_writer Class Reference

#include <ros_writer.h>

Inheritance diagram for librealsense::ros_writer:
librealsense::device_serializer::writer

Public Member Functions

 ros_writer (const std::string &file)
 
void write_device_description (const librealsense::device_snapshot &device_description) override
 
void write_frame (const stream_identifier &stream_id, const nanoseconds &timestamp, frame_holder &&frame)
 
void write_snapshot (uint32_t device_index, const nanoseconds &timestamp, rs2_extension type, const std::shared_ptr< extension_snapshot > &snapshot) override
 
void write_snapshot (const sensor_identifier &sensor_id, const nanoseconds &timestamp, rs2_extension type, const std::shared_ptr< extension_snapshot > &snapshot) override
 
const std::string & get_file_name () const override
 
- Public Member Functions inherited from librealsense::device_serializer::writer
virtual ~writer ()=default
 

Constructor & Destructor Documentation

§ ros_writer()

librealsense::ros_writer::ros_writer ( const std::string &  file)
inlineexplicit

Member Function Documentation

§ get_file_name()

const std::string& librealsense::ros_writer::get_file_name ( ) const
inlineoverridevirtual

§ write_device_description()

void librealsense::ros_writer::write_device_description ( const librealsense::device_snapshot device_description)
inlineoverridevirtual

§ write_frame()

void librealsense::ros_writer::write_frame ( const stream_identifier stream_id,
const nanoseconds timestamp,
frame_holder &&  frame 
)
inlinevirtual

§ write_snapshot() [1/2]

void librealsense::ros_writer::write_snapshot ( uint32_t  device_index,
const nanoseconds timestamp,
rs2_extension  type,
const std::shared_ptr< extension_snapshot > &  snapshot 
)
inlineoverridevirtual

§ write_snapshot() [2/2]

void librealsense::ros_writer::write_snapshot ( const sensor_identifier sensor_id,
const nanoseconds timestamp,
rs2_extension  type,
const std::shared_ptr< extension_snapshot > &  snapshot 
)
inlineoverridevirtual

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