|
USRP Hardware Driver and USRP Manual
Version: 4.4.0.HEAD-0-g5fac246b
UHD and USRP Manual
|
|
Go to the documentation of this file.
29 template <
typename Ptr>
30 ref_vector(Ptr* ptr) : _ptr(T(ptr)), _mem(_mem_t(&_ptr)), _size(1)
40 template <
typename Vector>
42 : _ptr(T()), _mem(_mem_t(&vec.front())), _size(vec.size())
53 ref_vector(
const T* mem,
size_t len) : _ptr(T()), _mem(_mem_t(mem)), _size(len)
size_t size(void) const
The number of elements in this container.
Definition: ref_vector.hpp:65
#define UHD_API
Definition: config.h:87
ref_vector(Ptr *ptr)
Definition: ref_vector.hpp:30
Definition: build_info.hpp:12
ref_vector(const Vector &vec)
Definition: ref_vector.hpp:41
Definition: ref_vector.hpp:21
ref_vector(const T *mem, size_t len)
Definition: ref_vector.hpp:53
const T & operator[](size_t index) const
Index operator gets the value of rv[index].
Definition: ref_vector.hpp:59