Public Member Functions | Private Member Functions | Private Attributes
pcl::SynchronizedQueue< T > Class Template Reference

#include <synchronized_queue.hpp>

List of all members.

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_

Detailed Description

template<typename T>
class pcl::SynchronizedQueue< T >

Definition at line 51 of file synchronized_queue.hpp.


Constructor & Destructor Documentation

template<typename T>
pcl::SynchronizedQueue< T >::SynchronizedQueue ( ) [inline]

Definition at line 55 of file synchronized_queue.hpp.


Member Function Documentation

template<typename T>
bool pcl::SynchronizedQueue< T >::dequeue ( T &  result) [inline]

Definition at line 71 of file synchronized_queue.hpp.

template<typename T>
void pcl::SynchronizedQueue< T >::doEndActions ( ) [inline, private]

Definition at line 116 of file synchronized_queue.hpp.

template<typename T>
void pcl::SynchronizedQueue< T >::enqueue ( const T &  data) [inline]

Definition at line 59 of file synchronized_queue.hpp.

template<typename T>
bool pcl::SynchronizedQueue< T >::isEmpty ( ) const [inline]

Definition at line 108 of file synchronized_queue.hpp.

template<typename T>
unsigned int pcl::SynchronizedQueue< T >::size ( ) [inline]

Definition at line 101 of file synchronized_queue.hpp.

template<typename T>
void pcl::SynchronizedQueue< T >::stopQueue ( ) [inline]

Definition at line 93 of file synchronized_queue.hpp.


Member Data Documentation

template<typename T>
boost::condition_variable pcl::SynchronizedQueue< T >::cond_ [private]

Definition at line 128 of file synchronized_queue.hpp.

template<typename T>
bool pcl::SynchronizedQueue< T >::enqueue_data_ [private]

Definition at line 131 of file synchronized_queue.hpp.

template<typename T>
boost::mutex pcl::SynchronizedQueue< T >::mutex_ [mutable, private]

Definition at line 127 of file synchronized_queue.hpp.

template<typename T>
std::queue<T> pcl::SynchronizedQueue< T >::queue_ [private]

Definition at line 126 of file synchronized_queue.hpp.

template<typename T>
bool pcl::SynchronizedQueue< T >::request_to_end_ [private]

Definition at line 130 of file synchronized_queue.hpp.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:43:37