#include <RecordPlayback.hpp>
|
| | Recorder () |
| | Create a recorder for data recording. More...
|
| |
| | Recorder (std::unique_ptr< RecorderImpl > impl) |
| |
| | Recorder (std::shared_ptr< Device > device) |
| | Create a recorder for data recording. More...
|
| |
| virtual | ~Recorder () noexcept |
| |
| void | start (const char *filename, bool async=false) |
| | Enable the recorder, throw an exception after failure. More...
|
| |
| void | stop () |
| | Stop the recorder, throw an exception on failure. More...
|
| |
| void | write (std::shared_ptr< Frame > frame) |
| | Write frame data to the recorder. More...
|
| |
Definition at line 27 of file RecordPlayback.hpp.
| ob::Recorder::Recorder |
( |
| ) |
|
Create a recorder for data recording.
| ob::Recorder::Recorder |
( |
std::unique_ptr< RecorderImpl > |
impl | ) |
|
| ob::Recorder::Recorder |
( |
std::shared_ptr< Device > |
device | ) |
|
Create a recorder for data recording.
- Parameters
-
| device | Devices that need to record device information |
| virtual ob::Recorder::~Recorder |
( |
| ) |
|
|
virtualnoexcept |
| void ob::Recorder::start |
( |
const char * |
filename, |
|
|
bool |
async = false |
|
) |
| |
Enable the recorder, throw an exception after failure.
- Parameters
-
| filename | Recorded file name |
| async | Whether to execute asynchronously |
| void ob::Recorder::stop |
( |
| ) |
|
Stop the recorder, throw an exception on failure.
| void ob::Recorder::write |
( |
std::shared_ptr< Frame > |
frame | ) |
|
Write frame data to the recorder.
- Parameters
-
The documentation for this class was generated from the following file: