#include <uhd/transport/zero_copy.hpp>
Public Types | |
typedef std::shared_ptr< zero_copy_if > | sptr |
Public Member Functions | |
virtual | ~zero_copy_if () |
virtual managed_recv_buffer::sptr | get_recv_buff (double timeout=0.1)=0 |
virtual size_t | get_num_recv_frames (void) const =0 |
virtual size_t | get_recv_frame_size (void) const =0 |
virtual managed_send_buffer::sptr | get_send_buff (double timeout=0.1)=0 |
virtual size_t | get_num_send_frames (void) const =0 |
virtual size_t | get_send_frame_size (void) const =0 |
A zero-copy interface for transport objects. Provides a way to get send and receive buffers with memory managed by the transport object.
typedef std::shared_ptr<zero_copy_if> uhd::transport::zero_copy_if::sptr |
|
inlinevirtual |
Clean up tasks before releasing the transport object.
|
pure virtual |
Get the number of receive frames: The number of simultaneous receive buffers in use.
|
pure virtual |
Get the number of send frames: The number of simultaneous send buffers in use.
|
pure virtual |
Get a new receive buffer from this transport object.
timeout | the timeout to get the buffer in seconds |
|
pure virtual |
Get the size of a receive frame: The maximum capacity of a single receive buffer.
|
pure virtual |
Get a new send buffer from this transport object.
timeout | the timeout to get the buffer in seconds |
|
pure virtual |
Get the size of a send frame: The maximum capacity of a single send buffer.