#include <uhd/transport/zero_copy_flow_ctrl.hpp>
Public Types | |
typedef std::shared_ptr< zero_copy_flow_ctrl > | sptr |
Public Types inherited from uhd::transport::zero_copy_if | |
typedef std::shared_ptr< zero_copy_if > | sptr |
Static Public Member Functions | |
static sptr | make (zero_copy_if::sptr transport, flow_ctrl_func send_flow_ctrl, flow_ctrl_func recv_flow_ctrl) |
Additional Inherited Members | |
Public Member Functions inherited from uhd::transport::zero_copy_if | |
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 |
Adds flow control to any zero_copy_if transport.
typedef std::shared_ptr<zero_copy_flow_ctrl> uhd::transport::zero_copy_flow_ctrl::sptr |
|
static |
Make flow controlled transport.
transport | a shared pointer to the transport interface |
send_flow_ctrl | optional send flow control function called before buffer is sent |
recv_flow_ctrl | optional receive flow control function called after buffer released |