OpendTect  7.0
Public Member Functions | Protected Attributes | List of all members
TypeQueue< T > Class Template Reference

Queue of basic data types. More...

Public Member Functions

 TypeQueue ()
 
void add (T item)
 
bool empty ()
 
next ()
 

Protected Attributes

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

Detailed Description

template<class T>
class TypeQueue< T >

Queue of basic data types.

<>

Constructor & Destructor Documentation

◆ TypeQueue()

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

Member Function Documentation

◆ add()

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

◆ empty()

template<class T >
bool TypeQueue< T >::empty ( )
inline

◆ next()

template<class T >
T TypeQueue< T >::next ( )
inline

Member Data Documentation

◆ head

template<class T >
QueueEntry<T>* TypeQueue< T >::head
protected

◆ lock_

template<class T >
Threads::Lock TypeQueue< T >::lock_
protected

◆ tail

template<class T >
QueueEntry<T>* TypeQueue< T >::tail
protected

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