#include <segwayrmp.h>
Public Member Functions | |
void | cancel () |
boost::shared_ptr< T > | dequeue () |
bool | empty () |
bool | enqueue (boost::shared_ptr< T > element) |
FiniteConcurrentSharedQueue (size_t size=1024) | |
void | reset () |
size_t | size () |
~FiniteConcurrentSharedQueue () | |
Private Attributes | |
bool | canceled_ |
boost::condition_variable | condition_variable_ |
boost::mutex | mutex_ |
std::queue< boost::shared_ptr < T > > | queue_ |
size_t | size_ |
Definition at line 205 of file segwayrmp.h.
segwayrmp::FiniteConcurrentSharedQueue< T >::FiniteConcurrentSharedQueue | ( | size_t | size = 1024 | ) | [inline] |
Definition at line 212 of file segwayrmp.h.
segwayrmp::FiniteConcurrentSharedQueue< T >::~FiniteConcurrentSharedQueue | ( | ) | [inline] |
Definition at line 214 of file segwayrmp.h.
void segwayrmp::FiniteConcurrentSharedQueue< T >::cancel | ( | ) | [inline] |
Definition at line 252 of file segwayrmp.h.
boost::shared_ptr<T> segwayrmp::FiniteConcurrentSharedQueue< T >::dequeue | ( | ) | [inline] |
Definition at line 239 of file segwayrmp.h.
bool segwayrmp::FiniteConcurrentSharedQueue< T >::empty | ( | ) | [inline] |
Definition at line 221 of file segwayrmp.h.
bool segwayrmp::FiniteConcurrentSharedQueue< T >::enqueue | ( | boost::shared_ptr< T > | element | ) | [inline] |
Definition at line 225 of file segwayrmp.h.
void segwayrmp::FiniteConcurrentSharedQueue< T >::reset | ( | ) | [inline] |
Definition at line 260 of file segwayrmp.h.
size_t segwayrmp::FiniteConcurrentSharedQueue< T >::size | ( | ) | [inline] |
Definition at line 216 of file segwayrmp.h.
bool segwayrmp::FiniteConcurrentSharedQueue< T >::canceled_ [private] |
Definition at line 210 of file segwayrmp.h.
boost::condition_variable segwayrmp::FiniteConcurrentSharedQueue< T >::condition_variable_ [private] |
Definition at line 208 of file segwayrmp.h.
boost::mutex segwayrmp::FiniteConcurrentSharedQueue< T >::mutex_ [private] |
Definition at line 207 of file segwayrmp.h.
std::queue<boost::shared_ptr<T> > segwayrmp::FiniteConcurrentSharedQueue< T >::queue_ [private] |
Definition at line 206 of file segwayrmp.h.
size_t segwayrmp::FiniteConcurrentSharedQueue< T >::size_ [private] |
Definition at line 209 of file segwayrmp.h.