Public Member Functions | Private Attributes | List of all members
segwayrmp::FiniteConcurrentSharedQueue< T > Class Template Reference

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

Detailed Description

template<typename T>
class segwayrmp::FiniteConcurrentSharedQueue< T >

Definition at line 205 of file segwayrmp.h.

Constructor & Destructor Documentation

template<typename T>
segwayrmp::FiniteConcurrentSharedQueue< T >::FiniteConcurrentSharedQueue ( size_t  size = 1024)
inline

Definition at line 212 of file segwayrmp.h.

Definition at line 214 of file segwayrmp.h.

Member Function Documentation

template<typename T>
void segwayrmp::FiniteConcurrentSharedQueue< T >::cancel ( )
inline

Definition at line 252 of file segwayrmp.h.

template<typename T>
boost::shared_ptr<T> segwayrmp::FiniteConcurrentSharedQueue< T >::dequeue ( )
inline

Definition at line 239 of file segwayrmp.h.

template<typename T>
bool segwayrmp::FiniteConcurrentSharedQueue< T >::empty ( )
inline

Definition at line 221 of file segwayrmp.h.

template<typename T>
bool segwayrmp::FiniteConcurrentSharedQueue< T >::enqueue ( boost::shared_ptr< T >  element)
inline

Definition at line 225 of file segwayrmp.h.

template<typename T>
void segwayrmp::FiniteConcurrentSharedQueue< T >::reset ( )
inline

Definition at line 260 of file segwayrmp.h.

template<typename T>
size_t segwayrmp::FiniteConcurrentSharedQueue< T >::size ( )
inline

Definition at line 216 of file segwayrmp.h.

Member Data Documentation

template<typename T>
bool segwayrmp::FiniteConcurrentSharedQueue< T >::canceled_
private

Definition at line 210 of file segwayrmp.h.

template<typename T>
boost::condition_variable segwayrmp::FiniteConcurrentSharedQueue< T >::condition_variable_
private

Definition at line 208 of file segwayrmp.h.

template<typename T>
boost::mutex segwayrmp::FiniteConcurrentSharedQueue< T >::mutex_
private

Definition at line 207 of file segwayrmp.h.

template<typename T>
std::queue<boost::shared_ptr<T> > segwayrmp::FiniteConcurrentSharedQueue< T >::queue_
private

Definition at line 206 of file segwayrmp.h.

template<typename T>
size_t segwayrmp::FiniteConcurrentSharedQueue< T >::size_
private

Definition at line 209 of file segwayrmp.h.


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


libsegwayrmp
Author(s): William Woodall
autogenerated on Mon Jun 10 2019 13:46:50