|
RealSense Cross Platform API
RealSense Cross-platform API
|
#include <rs_record_playback.hpp>
Public Member Functions | |
| recorder (device d) | |
| recorder (const std::string &file, rs2::device dev) | |
| recorder (const std::string &file, rs2::device dev, bool compression_enabled) | |
| void | pause () |
| void | resume () |
| std::string | filename () const |
| Public Member Functions inherited from rs2::device | |
| std::vector< sensor > | query_sensors () const |
| std::string | get_type () const |
| std::string | get_description () const |
| template<class T> | |
| T | first () const |
| bool | supports (rs2_camera_info info) const |
| const char * | get_info (rs2_camera_info info) const |
| void | hardware_reset () |
| bool | is_in_recovery_mode () |
| device & | operator= (const std::shared_ptr< rs2_device > dev) |
| device & | operator= (const device &dev) |
| device () | |
| operator bool () const | |
| const std::shared_ptr< rs2_device > & | get () const |
| bool | operator< (device const &other) const |
| bool | is_connected () const |
| template<class T> | |
| bool | is () const |
| template<class T> | |
| T | as () const |
| virtual | ~device () |
| operator std::shared_ptr< rs2_device > () | |
| device (std::shared_ptr< rs2_device > dev) | |
Protected Member Functions | |
| recorder (std::shared_ptr< rs2_device > dev) | |
Additional Inherited Members | |
| Protected Attributes inherited from rs2::device | |
| std::shared_ptr< rs2_device > | _dev |
|
inline |
|
inline |
Creates a recording device to record the given device and save it to the given file as rosbag format
| [in] | file | The desired path to which the recorder should save the data |
| [in] | device | The device to record |
|
inline |
Creates a recording device to record the given device and save it to the given file as rosbag format
| [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 |
|
inlineexplicitprotected |
|
inline |
Gets the name of the file to which the recorder is writing
|
inline |
Pause the recording device without stopping the actual device from streaming.
|
inline |
Unpauses the recording device, making it resume recording.