OpendTect-6_4  6.4
Public Member Functions | Protected Attributes | List of all members
ObjQueue< T > Class Template Reference

Queue of objects. More...

Public Member Functions

 ObjQueue ()
 
void add (T *item)
 item becomes MINE! More...
 
T * next ()
 becomes YOURS! More...
 

Protected Attributes

Threads::Lock lock_
 
QueueEntry< T * > * head
 
QueueEntry< T * > * tail
 

Detailed Description

template<class T>
class ObjQueue< T >

Queue of objects.

Constructor & Destructor Documentation

template<class T>
ObjQueue< T >::ObjQueue ( )
inline

Member Function Documentation

template<class T>
void ObjQueue< T >::add ( T *  item)
inline

item becomes MINE!

template<class T>
T* ObjQueue< T >::next ( )
inline

becomes YOURS!

Member Data Documentation

template<class T>
QueueEntry<T*>* ObjQueue< T >::head
protected
template<class T>
Threads::Lock ObjQueue< T >::lock_
protected
template<class T>
QueueEntry<T*>* ObjQueue< T >::tail
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019