UHD
003.004.002-0-unknown
|
#include <zero_copy.hpp>
Public Types | |
typedef boost::intrusive_ptr < managed_recv_buffer > | sptr |
Public Member Functions | |
virtual void | release (void)=0 |
template<class T > | |
T | cast (void) const |
size_t | size (void) const |
Public Attributes | |
int | _ref_count |
A managed receive buffer: Contains a reference to transport-managed memory, and a method to release the memory after reading.
typedef boost::intrusive_ptr<managed_recv_buffer> uhd::transport::managed_recv_buffer::sptr |
|
inline |
Get a pointer to the underlying buffer.
|
pure virtual |
Signal to the transport that we are done with the buffer. This should be called to release the buffer to the transport object. After calling, the referenced memory should be considered invalid.
|
inline |
Get the size of the underlying buffer.
int uhd::transport::managed_recv_buffer::_ref_count |