Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::sync_bounded_queue< ValueType > Class Template Reference

#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)
 

Member Typedef Documentation

template<typename ValueType>
typedef std::size_t boost::sync_bounded_queue< ValueType >::size_type
template<typename ValueType>
typedef ValueType boost::sync_bounded_queue< ValueType >::value_type

Constructor & Destructor Documentation

template<typename ValueType>
boost::sync_bounded_queue< ValueType >::sync_bounded_queue ( size_type  max_elems)
explicit
template<typename ValueType>
template<typename Range >
boost::sync_bounded_queue< ValueType >::sync_bounded_queue ( size_type  max_elems,
Range  range 
)
template<typename ValueType >
boost::sync_bounded_queue< ValueType >::~sync_bounded_queue ( )
template<typename ValueType>
template<typename ValueType >
boost::sync_bounded_queue< ValueType >::sync_bounded_queue ( typename sync_bounded_queue< ValueType >::size_type  max_elems)

References BOOST_ASSERT_MSG.

Member Function Documentation

template<typename ValueType >
sync_bounded_queue< ValueType >::size_type boost::sync_bounded_queue< ValueType >::capacity ( ) const
inline
template<typename ValueType >
void boost::sync_bounded_queue< ValueType >::close ( )
inline
template<typename ValueType >
bool boost::sync_bounded_queue< ValueType >::closed ( ) const
inline
template<typename ValueType >
bool boost::sync_bounded_queue< ValueType >::empty ( void  ) const
inline

References boost::empty().

template<typename ValueType >
bool boost::sync_bounded_queue< ValueType >::full ( ) const
inline
template<typename ValueType >
queue_op_status boost::sync_bounded_queue< ValueType >::nonblocking_pull_front ( value_type elem)
inline
template<typename ValueType >
queue_op_status boost::sync_bounded_queue< ValueType >::nonblocking_push_back ( const value_type x)
inline
template<typename ValueType >
queue_op_status boost::sync_bounded_queue< ValueType >::nonblocking_push_back ( BOOST_THREAD_RV_REF(value_type x)
inline
template<typename ValueType >
boost::shared_ptr< ValueType > boost::sync_bounded_queue< ValueType >::ptr_pull ( )
inline
template<typename ValueType >
void boost::sync_bounded_queue< ValueType >::pull ( value_type elem)
inline
template<typename ValueType >
ValueType boost::sync_bounded_queue< ValueType >::pull ( )
inline
template<typename ValueType >
void boost::sync_bounded_queue< ValueType >::pull_front ( value_type elem)
inline

Referenced by boost::operator>>().

template<typename ValueType >
ValueType boost::sync_bounded_queue< ValueType >::pull_front ( )
inline
template<typename ValueType >
void boost::sync_bounded_queue< ValueType >::push ( const value_type x)
inline
template<typename ValueType >
void boost::sync_bounded_queue< ValueType >::push ( BOOST_THREAD_RV_REF(value_type x)
inline

References boost::move().

template<typename ValueType >
void boost::sync_bounded_queue< ValueType >::push_back ( const value_type x)
inline

Referenced by boost::operator<<().

template<typename ValueType >
void boost::sync_bounded_queue< ValueType >::push_back ( BOOST_THREAD_RV_REF(value_type x)
inline

References boost::move().

template<typename ValueType >
sync_bounded_queue< ValueType >::size_type boost::sync_bounded_queue< ValueType >::size ( void  ) const
inline

References boost::size().

template<typename ValueType >
bool boost::sync_bounded_queue< ValueType >::try_pull ( value_type elem)
inline
template<typename ValueType >
bool boost::sync_bounded_queue< ValueType >::try_pull ( no_block_tag  ,
value_type elem 
)
inline
template<typename ValueType >
boost::shared_ptr< ValueType > boost::sync_bounded_queue< ValueType >::try_pull ( )
inline
template<typename ValueType >
queue_op_status boost::sync_bounded_queue< ValueType >::try_pull_front ( value_type elem)
inline
template<typename ValueType >
bool boost::sync_bounded_queue< ValueType >::try_push ( const value_type x)
inline
template<typename ValueType >
bool boost::sync_bounded_queue< ValueType >::try_push ( BOOST_THREAD_RV_REF(value_type x)
inline

References boost::move().

template<typename ValueType >
bool boost::sync_bounded_queue< ValueType >::try_push ( no_block_tag  ,
const value_type x 
)
inline
template<typename ValueType >
bool boost::sync_bounded_queue< ValueType >::try_push ( no_block_tag  ,
BOOST_THREAD_RV_REF(value_type x 
)
inline
template<typename ValueType >
queue_op_status boost::sync_bounded_queue< ValueType >::try_push_back ( const value_type x)
inline
template<typename ValueType >
queue_op_status boost::sync_bounded_queue< ValueType >::try_push_back ( BOOST_THREAD_RV_REF(value_type x)
inline

References boost::move().

template<typename ValueType>
queue_op_status boost::sync_bounded_queue< ValueType >::wait_pull_front ( ValueType &  elem)
inline
template<typename ValueType >
queue_op_status boost::sync_bounded_queue< ValueType >::wait_push_back ( const value_type x)
inline
template<typename ValueType >
queue_op_status boost::sync_bounded_queue< ValueType >::wait_push_back ( BOOST_THREAD_RV_REF(value_type x)
inline

References boost::move().


The documentation for this class was generated from the following file: