IBR-DTNSuite  0.8
ibrcommon::Queue< T >::Locked Class Reference

#include <Queue.h>

List of all members.

Public Member Functions

 Locked (Queue< T > &queue)
virtual ~Locked ()
void wait (WAIT_MODES mode, const size_t timeout=0) throw (QueueUnblockedException)
void pop ()
const T & front () const
T & front ()
bool empty ()
size_t size ()
void push (const T &p)

Detailed Description

template<class T>
class ibrcommon::Queue< T >::Locked

Definition at line 193 of file Queue.h.


Constructor & Destructor Documentation

template<class T>
ibrcommon::Queue< T >::Locked::Locked ( Queue< T > &  queue) [inline]

Definition at line 196 of file Queue.h.

template<class T>
virtual ibrcommon::Queue< T >::Locked::~Locked ( ) [inline, virtual]

Definition at line 201 of file Queue.h.


Member Function Documentation

template<class T>
bool ibrcommon::Queue< T >::Locked::empty ( ) [inline]

Definition at line 233 of file Queue.h.

template<class T>
const T& ibrcommon::Queue< T >::Locked::front ( ) const [inline]

Definition at line 223 of file Queue.h.

Referenced by ibrcommon::vsocket::select().

template<class T>
T& ibrcommon::Queue< T >::Locked::front ( ) [inline]

Definition at line 228 of file Queue.h.

template<class T>
void ibrcommon::Queue< T >::Locked::pop ( ) [inline]

Definition at line 218 of file Queue.h.

Referenced by ibrcommon::vsocket::select().

template<class T>
void ibrcommon::Queue< T >::Locked::push ( const T &  p) [inline]

Definition at line 243 of file Queue.h.

template<class T>
size_t ibrcommon::Queue< T >::Locked::size ( ) [inline]

Definition at line 238 of file Queue.h.

template<class T>
void ibrcommon::Queue< T >::Locked::wait ( WAIT_MODES  mode,
const size_t  timeout = 0 
) throw (QueueUnblockedException) [inline]

Definition at line 206 of file Queue.h.


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