#include <sync_bounded_queue.hpp>
Public Types | |
typedef ValueType | value_type |
typedef std::size_t | size_type |
Public Member Functions | |
sync_bounded_queue (size_type max_elems) | |
template<typename Range > | |
sync_bounded_queue (size_type max_elems, Range range) | |
~sync_bounded_queue () | |
bool | empty () const |
bool | full () const |
size_type | capacity () const |
size_type | size () const |
bool | closed () const |
void | close () |
void | push (const value_type &x) |
void | push (BOOST_THREAD_RV_REF(value_type) x) |
bool | try_push (const value_type &x) |
bool | try_push (BOOST_THREAD_RV_REF(value_type) x) |
bool | try_push (no_block_tag, const value_type &x) |
bool | try_push (no_block_tag, BOOST_THREAD_RV_REF(value_type) x) |
void | push_back (const value_type &x) |
void | push_back (BOOST_THREAD_RV_REF(value_type) x) |
queue_op_status | try_push_back (const value_type &x) |
queue_op_status | try_push_back (BOOST_THREAD_RV_REF(value_type) x) |
queue_op_status | nonblocking_push_back (const value_type &x) |
queue_op_status | nonblocking_push_back (BOOST_THREAD_RV_REF(value_type) x) |
queue_op_status | wait_push_back (const value_type &x) |
queue_op_status | wait_push_back (BOOST_THREAD_RV_REF(value_type) x) |
void | pull (value_type &) |
value_type | pull () |
shared_ptr< ValueType > | ptr_pull () |
bool | try_pull (value_type &) |
bool | try_pull (no_block_tag, value_type &) |
shared_ptr< ValueType > | try_pull () |
void | pull_front (value_type &) |
value_type | pull_front () |
queue_op_status | try_pull_front (value_type &) |
queue_op_status | nonblocking_pull_front (value_type &) |
queue_op_status | wait_pull_front (ValueType &elem) |
template<typename ValueType > | |
sync_bounded_queue (typename sync_bounded_queue< ValueType >::size_type max_elems) | |
typedef std::size_t boost::sync_bounded_queue< ValueType >::size_type |
typedef ValueType boost::sync_bounded_queue< ValueType >::value_type |
|
explicit |
boost::sync_bounded_queue< ValueType >::sync_bounded_queue | ( | size_type | max_elems, |
Range | range | ||
) |
boost::sync_bounded_queue< ValueType >::~sync_bounded_queue | ( | ) |
boost::sync_bounded_queue< ValueType >::sync_bounded_queue | ( | typename sync_bounded_queue< ValueType >::size_type | max_elems | ) |
References BOOST_ASSERT_MSG.
|
inline |
|
inline |
References boost::condition_variable::notify_all().
|
inline |
|
inline |
References boost::empty().
|
inline |
|
inline |
References boost::unique_lock< Mutex >::owns_lock(), and boost::try_to_lock.
|
inline |
References boost::unique_lock< Mutex >::owns_lock(), and boost::try_to_lock.
|
inline |
References boost::move(), boost::unique_lock< Mutex >::owns_lock(), and boost::try_to_lock.
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by boost::operator>>().
|
inline |
|
inline |
|
inline |
References boost::move().
|
inline |
Referenced by boost::operator<<().
|
inline |
References boost::move().
|
inline |
References boost::size().
|
inline |
|
inline |
References boost::unique_lock< Mutex >::owns_lock(), and boost::try_to_lock.
|
inline |
|
inline |
|
inline |
|
inline |
References boost::move().
|
inline |
References boost::unique_lock< Mutex >::owns_lock(), and boost::try_to_lock.
|
inline |
References boost::move(), boost::unique_lock< Mutex >::owns_lock(), and boost::try_to_lock.
|
inline |
|
inline |
References boost::move().
|
inline |
|
inline |
|
inline |
References boost::move().