UHD
003.004.002-0-unknown
|
#include <zero_copy.hpp>
Public Types | |
typedef boost::shared_ptr < zero_copy_if > | sptr |
Public Member Functions | |
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 boost::shared_ptr<zero_copy_if> uhd::transport::zero_copy_if::sptr |
Reimplemented in uhd::transport::udp_zero_copy, and uhd::transport::usb_zero_copy.
|
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.