Orbbec SDK K4A Wrapper
|
#include <k4arecord/playback.hpp>
Public Member Functions | |
data_block (k4a_playback_data_block_t handle=nullptr) noexcept | |
data_block (const data_block &)=delete | |
data_block & | operator= (const data_block &)=delete |
data_block (data_block &&other) noexcept | |
data_block & | operator= (data_block &&other) noexcept |
operator bool () const noexcept | |
bool | is_valid () const noexcept |
void | reset () noexcept |
std::chrono::microseconds | get_device_timestamp_usec () const noexcept |
size_t | get_buffer_size () const noexcept |
const uint8_t * | get_buffer () const noexcept |
Wrapper for k4a_playback_data_block_t
Definition at line 26 of file playback.hpp.
|
inlinenoexcept |
Creates a data_block from a k4a_playback_data_block_t Takes ownership of the handle, you should not call k4a_playback_data_block_release on the handle after giving it to the data_block; the data_block will take care of that.
Definition at line 33 of file playback.hpp.
|
inlinenoexcept |
Moves another data_block into a new data_block
Definition at line 41 of file playback.hpp.
|
inline |
Definition at line 47 of file playback.hpp.
|
inlinenoexcept |
Get the data_block buffer.
Definition at line 112 of file playback.hpp.
|
inlinenoexcept |
Get the size of the data_block buffer.
Definition at line 103 of file playback.hpp.
|
inlinenoexcept |
Get the time stamp in micro seconds for the given data_block
Definition at line 94 of file playback.hpp.
|
inlinenoexcept |
Returns true if the data_block is valid, false otherwise
Definition at line 74 of file playback.hpp.
|
inlineexplicitnoexcept |
Returns true if the data_block is valid, false otherwise
Definition at line 67 of file playback.hpp.
|
inlinenoexcept |
Moves another data_block into this data_block; other is set to invalid
Definition at line 54 of file playback.hpp.
|
inlinenoexcept |
Releases the underlying k4a_playback_data_block_t; the data_block is set to invalid.
Definition at line 81 of file playback.hpp.