 |
USRP Hardware Driver and USRP Manual
Version: 4.0.0.0-0-unknown
UHD and USRP Manual
|
|
Go to the documentation of this file.
14 namespace uhd {
namespace transport {
23 typedef std::shared_ptr<buffer_pool>
sptr;
36 const size_t num_buffs,
const size_t buff_size,
const size_t alignment = 16);
42 virtual size_t size(
void)
const = 0;
std::shared_ptr< buffer_pool > sptr
Definition: buffer_pool.hpp:23
virtual ~buffer_pool(void)=0
static sptr make(const size_t num_buffs, const size_t buff_size, const size_t alignment=16)
#define UHD_API
Definition: config.h:67
Definition: build_info.hpp:12
void * ptr_type
Definition: buffer_pool.hpp:24
virtual size_t size(void) const =0
Get the number of buffers in this pool.
boost::noncopyable noncopyable
Definition: noncopyable.hpp:45
virtual ptr_type at(const size_t index) const =0
Get a pointer to the buffer start at the specified index.
Definition: buffer_pool.hpp:21