#include <uhd/transport/zero_copy.hpp>
Public Types | |
typedef boost::intrusive_ptr< managed_send_buffer > | sptr |
Public Types inherited from uhd::transport::managed_buffer | |
typedef boost::intrusive_ptr< managed_buffer > | sptr |
Additional Inherited Members | |
Public Member Functions inherited from uhd::transport::managed_buffer | |
managed_buffer (void) | |
virtual | ~managed_buffer (void) |
virtual void | release (void)=0 |
UHD_INLINE void | commit (size_t num_bytes) |
template<class T > | |
UHD_INLINE T | cast (void) const |
UHD_INLINE size_t | size (void) const |
template<typename T > | |
UHD_INLINE boost::intrusive_ptr< T > | make (T *p, void *buffer, size_t length) |
Create smart pointer to a reusable managed buffer. More... | |
int | ref_count () |
Public Attributes inherited from uhd::transport::managed_buffer | |
boost::detail::atomic_count | _ref_count |
Protected Attributes inherited from uhd::transport::managed_buffer | |
void * | _buffer |
size_t | _length |
A managed send buffer: Contains a reference to transport-managed memory, and a method to commit the memory after writing.
typedef boost::intrusive_ptr<managed_send_buffer> uhd::transport::managed_send_buffer::sptr |