#include <rs_record_playback.hpp>
◆ recorder() [1/4]
rs2::recorder::recorder |
( |
device | d | ) |
|
|
inline |
◆ recorder() [2/4]
rs2::recorder::recorder |
( |
const std::string & | file, |
|
|
rs2::device | dev ) |
|
inline |
Creates a recording device to record the given device and save it to the given file as rosbag format
- Parameters
-
[in] | file | The desired path to which the recorder should save the data |
[in] | device | The device to record |
◆ recorder() [3/4]
rs2::recorder::recorder |
( |
const std::string & | file, |
|
|
rs2::device | dev, |
|
|
bool | compression_enabled ) |
|
inline |
Creates a recording device to record the given device and save it to the given file as rosbag format
- Parameters
-
[in] | file | The desired path to which the recorder should save the data |
[in] | device | The device to record |
[in] | compression_enabled | Indicates if compression is enabled |
◆ recorder() [4/4]
rs2::recorder::recorder |
( |
std::shared_ptr< rs2_device > | dev | ) |
|
|
inlineexplicitprotected |
◆ filename()
std::string rs2::recorder::filename |
( |
| ) |
const |
|
inline |
Gets the name of the file to which the recorder is writing
- Returns
- The name of the file to which the recorder is writing
◆ pause()
void rs2::recorder::pause |
( |
| ) |
|
|
inline |
Pause the recording device without stopping the actual device from streaming.
◆ resume()
void rs2::recorder::resume |
( |
| ) |
|
|
inline |
Unpauses the recording device, making it resume recording.
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/librealsense-2.56.3-build/librealsense-2.56.3/include/librealsense2/hpp/rs_record_playback.hpp