#include <uhd/transport/frame_buff.hpp>
Classes | |
struct | deleter |
Public Types | |
using | uptr = std::unique_ptr< frame_buff, deleter > |
Public Member Functions | |
void * | data () const |
size_t | packet_size () const |
void | set_packet_size (size_t size) |
Protected Attributes | |
void * | _data = nullptr |
size_t | _packet_size = 0 |
Contains a reference to a frame buffer managed by a link.
using uhd::transport::frame_buff::uptr = std::unique_ptr<frame_buff, deleter> |
|
inline |
Get the raw data buffer contained within the frame buffer
|
inline |
Returns the size of the packet
|
inline |
Sets the size of the packet contained in the frame buffer, in bytes.
size | Number of bytes occupied in the buffer |
|
protected |
Pointer to data of current frame
|
protected |
Size of packet in current frame