#include <RecordPlayback.hpp>
Definition at line 63 of file RecordPlayback.hpp.
◆ Playback() [1/2]
ob::Playback::Playback |
( |
const char * |
filename | ) |
|
Create a playback object.
- Parameters
-
filename | The name of the playback file. |
◆ Playback() [2/2]
ob::Playback::Playback |
( |
std::unique_ptr< PlaybackImpl > |
impl | ) |
|
◆ ~Playback()
virtual ob::Playback::~Playback |
( |
| ) |
|
|
virtualnoexcept |
◆ start()
Start playback. The playback data is returned from the callback. Throws an exception on failure.
- Parameters
-
callback | The callback for playback data. |
type | The type of playback data. |
◆ stop()
void ob::Playback::stop |
( |
| ) |
|
Stop playback. Throws an exception on failure.
◆ setPlaybackStateCallback()
Set the playback state.
- Parameters
-
state | The playback status callback. |
◆ getDeviceInfo()
std::shared_ptr< DeviceInfo > ob::Playback::getDeviceInfo |
( |
| ) |
|
Get the device information in the recording file.
- Returns
- DeviceInfo The device information.
◆ getCameraParam()
Get the intrinsic and extrinsic parameter in the recording file.
- Returns
- OBCameraParam Camera intrinsic and extrinsic parameter
The documentation for this class was generated from the following file:
- E:/Projects/Jenkins/workspace/OrbbecSDK/libobsensor/include/libobsensor/hpp/RecordPlayback.hpp