Public Types | Public Member Functions | Private Attributes | List of all members
BlockingQueue Class Reference

#include <BlockingQueue.hpp>

Public Types

enum  { NoMaxSizeRestriction = 0 }
 

Public Member Functions

bool Add (boost::any const &o)
 
 BlockingQueue ()
 
boost::uint64_t GetMaxSize () const
 
void SetMaxSize (boost::uint64_t val)
 
boost::any Take ()
 

Private Attributes

boost::condition m_condSpaceAvailable
 
std::deque< boost::any > m_deque
 
boost::uint64_t m_maxSize
 
boost::mutex m_mutex
 

Detailed Description

Definition at line 51 of file BlockingQueue.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NoMaxSizeRestriction 

Definition at line 54 of file BlockingQueue.hpp.

Constructor & Destructor Documentation

◆ BlockingQueue()

BlockingQueue::BlockingQueue ( )
inline

Definition at line 57 of file BlockingQueue.hpp.

Member Function Documentation

◆ Add()

bool BlockingQueue::Add ( boost::any const &  o)
inline

Definition at line 86 of file BlockingQueue.hpp.

◆ GetMaxSize()

boost::uint64_t BlockingQueue::GetMaxSize ( ) const
inline

Definition at line 104 of file BlockingQueue.hpp.

◆ SetMaxSize()

void BlockingQueue::SetMaxSize ( boost::uint64_t  val)
inline

Definition at line 107 of file BlockingQueue.hpp.

◆ Take()

boost::any BlockingQueue::Take ( )
inline

Definition at line 67 of file BlockingQueue.hpp.

Member Data Documentation

◆ m_condSpaceAvailable

boost::condition BlockingQueue::m_condSpaceAvailable
private

Definition at line 114 of file BlockingQueue.hpp.

◆ m_deque

std::deque<boost::any> BlockingQueue::m_deque
private

Definition at line 111 of file BlockingQueue.hpp.

◆ m_maxSize

boost::uint64_t BlockingQueue::m_maxSize
private

Definition at line 113 of file BlockingQueue.hpp.

◆ m_mutex

boost::mutex BlockingQueue::m_mutex
private

Definition at line 112 of file BlockingQueue.hpp.


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


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:26