18 #ifndef INCLUDED_UHD_TRANSPORT_BOUNDED_BUFFER_HPP 19 #define INCLUDED_UHD_TRANSPORT_BOUNDED_BUFFER_HPP 21 #include <uhd/transport/bounded_buffer.ipp> 23 namespace uhd{
namespace transport{
52 return _detail.push_with_haste(elem);
63 return _detail.push_with_pop_on_full(elem);
72 return _detail.push_with_wait(elem);
83 return _detail.push_with_timed_wait(elem, timeout);
93 return _detail.pop_with_haste(elem);
102 return _detail.pop_with_wait(elem);
113 return _detail.pop_with_timed_wait(elem, timeout);
116 private: bounded_buffer_detail<elem_type> _detail;
UHD_INLINE bool pop_with_haste(elem_type &elem)
Definition: bounded_buffer.hpp:92
Definition: bounded_buffer.hpp:32
bounded_buffer(size_t capacity)
Definition: bounded_buffer.hpp:39
UHD_INLINE bool push_with_haste(const elem_type &elem)
Definition: bounded_buffer.hpp:51
UHD_INLINE bool pop_with_timed_wait(elem_type &elem, double timeout)
Definition: bounded_buffer.hpp:112
Definition: convert.hpp:28
#define UHD_INLINE
Definition: config.hpp:67
UHD_INLINE bool push_with_timed_wait(const elem_type &elem, double timeout)
Definition: bounded_buffer.hpp:82
UHD_INLINE void push_with_wait(const elem_type &elem)
Definition: bounded_buffer.hpp:71
UHD_INLINE bool push_with_pop_on_full(const elem_type &elem)
Definition: bounded_buffer.hpp:62
UHD_INLINE void pop_with_wait(elem_type &elem)
Definition: bounded_buffer.hpp:101