#include <synchronized_queue.hpp>
Public Member Functions | |
bool | dequeue (T &result) |
void | enqueue (const T &data) |
bool | isEmpty () const |
unsigned int | size () |
void | stopQueue () |
SynchronizedQueue () | |
Private Member Functions | |
void | doEndActions () |
Private Attributes | |
boost::condition_variable | cond_ |
bool | enqueue_data_ |
boost::mutex | mutex_ |
std::queue< T > | queue_ |
bool | request_to_end_ |
Definition at line 51 of file synchronized_queue.hpp.
pcl::SynchronizedQueue< T >::SynchronizedQueue | ( | ) | [inline] |
Definition at line 55 of file synchronized_queue.hpp.
bool pcl::SynchronizedQueue< T >::dequeue | ( | T & | result | ) | [inline] |
Definition at line 71 of file synchronized_queue.hpp.
void pcl::SynchronizedQueue< T >::doEndActions | ( | ) | [inline, private] |
Definition at line 116 of file synchronized_queue.hpp.
void pcl::SynchronizedQueue< T >::enqueue | ( | const T & | data | ) | [inline] |
Definition at line 59 of file synchronized_queue.hpp.
bool pcl::SynchronizedQueue< T >::isEmpty | ( | ) | const [inline] |
Definition at line 108 of file synchronized_queue.hpp.
unsigned int pcl::SynchronizedQueue< T >::size | ( | ) | [inline] |
Definition at line 101 of file synchronized_queue.hpp.
void pcl::SynchronizedQueue< T >::stopQueue | ( | ) | [inline] |
Definition at line 93 of file synchronized_queue.hpp.
boost::condition_variable pcl::SynchronizedQueue< T >::cond_ [private] |
Definition at line 128 of file synchronized_queue.hpp.
bool pcl::SynchronizedQueue< T >::enqueue_data_ [private] |
Definition at line 131 of file synchronized_queue.hpp.
boost::mutex pcl::SynchronizedQueue< T >::mutex_ [mutable, private] |
Definition at line 127 of file synchronized_queue.hpp.
std::queue<T> pcl::SynchronizedQueue< T >::queue_ [private] |
Definition at line 126 of file synchronized_queue.hpp.
bool pcl::SynchronizedQueue< T >::request_to_end_ [private] |
Definition at line 130 of file synchronized_queue.hpp.