#include <pointerQueue.h>

Public Member Functions | |
| PointerQueue () | |
| ~PointerQueue () | |
| size_t | size () const |
| void | push_back (boost::shared_ptr< T > &ptr) |
| boost::shared_ptr< T > | pop_front_non_block () |
| boost::shared_ptr< T > | pop_front () |
| void | quit (int seconds=0) |
Private Types | |
| typedef std::deque < boost::shared_ptr< T > > | queue_t |
| typedef boost::mutex | Mutex |
Private Member Functions | |
| boost::shared_ptr< T > | pop_front_in_lock () |
Private Attributes | |
| queue_t | data |
| Mutex | mutex |
| volatile bool | finish |
| boost::condition | condition |
Definition at line 15 of file pointerQueue.h.
typedef boost::mutex osl::misc::PointerQueue< T >::Mutex [private] |
Definition at line 19 of file pointerQueue.h.
typedef std::deque<boost::shared_ptr<T> > osl::misc::PointerQueue< T >::queue_t [private] |
Definition at line 17 of file pointerQueue.h.
| osl::misc::PointerQueue< T >::PointerQueue | ( | ) | [inline] |
Definition at line 24 of file pointerQueue.h.
| osl::misc::PointerQueue< T >::~PointerQueue | ( | ) | [inline] |
Definition at line 27 of file pointerQueue.h.
| boost::shared_ptr<T> osl::misc::PointerQueue< T >::pop_front | ( | ) | [inline] |
Definition at line 61 of file pointerQueue.h.
| boost::shared_ptr<T> osl::misc::PointerQueue< T >::pop_front_in_lock | ( | ) | [inline, private] |
Definition at line 45 of file pointerQueue.h.
Referenced by osl::misc::PointerQueue< void >::pop_front(), and osl::misc::PointerQueue< void >::pop_front_non_block().
| boost::shared_ptr<T> osl::misc::PointerQueue< T >::pop_front_non_block | ( | ) | [inline] |
Definition at line 56 of file pointerQueue.h.
| void osl::misc::PointerQueue< T >::push_back | ( | boost::shared_ptr< T > & | ptr | ) | [inline] |
Definition at line 37 of file pointerQueue.h.
| void osl::misc::PointerQueue< T >::quit | ( | int | seconds = 0 | ) | [inline] |
Definition at line 73 of file pointerQueue.h.
Referenced by osl::misc::PointerQueue< void >::~PointerQueue().
| size_t osl::misc::PointerQueue< T >::size | ( | ) | const [inline] |
Definition at line 32 of file pointerQueue.h.
boost::condition osl::misc::PointerQueue< T >::condition [private] |
Definition at line 22 of file pointerQueue.h.
Referenced by osl::misc::PointerQueue< void >::pop_front(), osl::misc::PointerQueue< void >::push_back(), and osl::misc::PointerQueue< void >::quit().
queue_t osl::misc::PointerQueue< T >::data [private] |
Definition at line 18 of file pointerQueue.h.
Referenced by osl::misc::PointerQueue< void >::pop_front_in_lock(), osl::misc::PointerQueue< void >::push_back(), and osl::misc::PointerQueue< void >::size().
volatile bool osl::misc::PointerQueue< T >::finish [private] |
Definition at line 21 of file pointerQueue.h.
Referenced by osl::misc::PointerQueue< void >::pop_front(), osl::misc::PointerQueue< void >::quit(), and osl::misc::PointerQueue< void >::~PointerQueue().
Mutex osl::misc::PointerQueue< T >::mutex [mutable, private] |
1.7.6.1