Public Member Functions | Private Member Functions | Private Attributes

SynchronizedQueue< T > Class Template Reference

#include <SynchronizedQueue.h>

Inheritance diagram for SynchronizedQueue< T >:

List of all members.

Public Member Functions

 SynchronizedQueue (boost::function< void(SynchronizedQueue &)> sig)
void push (T t)
pop ()
bool peek ()

Private Member Functions

void _signal ()

Private Attributes

abicollab::mutex m_mutex
std::deque< T > m_queue
boost::function< void(SynchronizedQueue &)> m_sig

template<typename T>
class SynchronizedQueue< T >

Constructor & Destructor Documentation

template<typename T>
SynchronizedQueue< T >::SynchronizedQueue ( boost::function< void(SynchronizedQueue< T > &)>  sig  )  [inline]

Member Function Documentation

template<typename T>
void SynchronizedQueue< T >::_signal (  )  [inline, private]
template<typename T>
bool SynchronizedQueue< T >::peek (  )  [inline]
template<typename T>
T SynchronizedQueue< T >::pop (  )  [inline]
template<typename T>
void SynchronizedQueue< T >::push ( t  )  [inline]

Member Data Documentation

template<typename T>
boost::function<void (SynchronizedQueue&)> SynchronizedQueue< T >::m_sig [private]

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