#include <RecordPlayback.hpp>
Definition at line 93 of file RecordPlayback.hpp.
ob::Playback::Playback |
( |
const char * |
filename | ) |
|
Create playback object.
- Parameters
-
ob::Playback::Playback |
( |
std::unique_ptr< PlaybackImpl > |
impl | ) |
|
virtual ob::Playback::~Playback |
( |
| ) |
|
|
virtualnoexcept |
Start playback, the playback data is returned from the callback, and an exception is thrown after failure.
- Parameters
-
filename | Playback filename |
callback | Callback for playback data |
type | Type of playback data |
void ob::Playback::stop |
( |
| ) |
|
Stop playback and throw an exception if it fails.
Set playback state.
- Parameters
-
state | playback status callback |
std::shared_ptr<DeviceInfo> ob::Playback::getDeviceInfo |
( |
| ) |
|
Get the device information in the recording file.
- Returns
- DeviceInfo returns device information
Get the intrinsic and extrinsic parameter information in the recording file.
- Returns
- OBCameraParam returns internal and external parameter information
The documentation for this class was generated from the following file: