8 #ifndef INCLUDED_UHD_TRANSPORT_BOUNDED_BUFFER_HPP
9 #define INCLUDED_UHD_TRANSPORT_BOUNDED_BUFFER_HPP
13 namespace uhd {
namespace transport {
22 template <
typename elem_type>
43 return _detail.push_with_haste(elem);
55 return _detail.push_with_pop_on_full(elem);
65 return _detail.push_with_wait(elem);
77 return _detail.push_with_timed_wait(elem, timeout);
88 return _detail.pop_with_haste(elem);
98 return _detail.pop_with_wait(elem);
110 return _detail.pop_with_timed_wait(elem, timeout);
Definition: bounded_buffer.ipp:23
Definition: bounded_buffer.hpp:24
UHD_INLINE bool push_with_haste(const elem_type &elem)
Definition: bounded_buffer.hpp:41
bounded_buffer(size_t capacity)
Definition: bounded_buffer.hpp:30
UHD_INLINE bool push_with_timed_wait(const elem_type &elem, double timeout)
Definition: bounded_buffer.hpp:75
UHD_INLINE bool pop_with_timed_wait(elem_type &elem, double timeout)
Definition: bounded_buffer.hpp:108
UHD_INLINE void pop_with_wait(elem_type &elem)
Definition: bounded_buffer.hpp:96
UHD_INLINE bool pop_with_haste(elem_type &elem)
Definition: bounded_buffer.hpp:86
UHD_INLINE bool push_with_pop_on_full(const elem_type &elem)
Definition: bounded_buffer.hpp:53
UHD_INLINE void push_with_wait(const elem_type &elem)
Definition: bounded_buffer.hpp:63
#define UHD_INLINE
Definition: config.h:53
Definition: build_info.hpp:13