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

base class for const MonitoredObject iterator. More...

Inheritance diagram for MonitorableIter4Read< ITyp >:
[legend]

Public Member Functions

 MonitorableIter4Read (const MonitorableIter4Read &)
 
 MonitorableIter4Read (const MonitoredObject &, ITyp startidx, ITyp stopidx)
 
void reInit () override
 
void retire () override
 
- Public Member Functions inherited from MonitorableIterBase< ITyp >
 MonitorableIterBase (const MonitorableIterBase &)
 
 MonitorableIterBase (const MonitoredObject &, idx_type start, idx_type stop)
 
virtual ~MonitorableIterBase ()
 
bool atFirst () const
 
bool atLast () const
 
idx_type curIdx () const
 
bool isEmpty () const
 
bool isForward () const
 
bool isPresent (idx_type) const
 
bool isValid () const
 
const MonitoredObjectmonitored () const
 
bool next ()
 
size_type size () const
 

Protected Member Functions

MonitorableIter4Readoperator= (const MonitorableIter4Read &)=delete
 
- Protected Member Functions inherited from MonitorableIterBase< ITyp >
MonitorableIterBaseoperator= (const MonitorableIterBase &)=delete
 

Protected Attributes

MonitorLock ml_
 
- Protected Attributes inherited from MonitorableIterBase< ITyp >
idx_type curidx_
 
const Direction dir_
 
const MonitoredObjectobj_
 
const idx_type startidx_
 
const idx_type stopidx_
 

Additional Inherited Members

- Public Types inherited from MonitorableIterBase< ITyp >
enum  Direction { Forward , Backward }
 
typedef ITyp idx_type
 
typedef idx_type size_type
 

Detailed Description

template<class ITyp>
class MonitorableIter4Read< ITyp >

base class for const MonitoredObject iterator.

Will MonitorLock, so when done before going out of scope, calling retire() will lift the lock early (this is what you want).

<>

Constructor & Destructor Documentation

◆ MonitorableIter4Read() [1/2]

template<class ITyp >
MonitorableIter4Read< ITyp >::MonitorableIter4Read ( const MonitoredObject obj,
ITyp  startidx,
ITyp  stopidx 
)
inline

◆ MonitorableIter4Read() [2/2]

template<class ITyp >
MonitorableIter4Read< ITyp >::MonitorableIter4Read ( const MonitorableIter4Read< ITyp > &  oth)
inline

Member Function Documentation

◆ operator=()

template<class ITyp >
MonitorableIter4Read& MonitorableIter4Read< ITyp >::operator= ( const MonitorableIter4Read< ITyp > &  )
protecteddelete

◆ reInit()

template<class ITyp >
void MonitorableIter4Read< ITyp >::reInit
inlineoverridevirtual

Reimplemented from MonitorableIterBase< ITyp >.

◆ retire()

template<class ITyp >
void MonitorableIter4Read< ITyp >::retire
inlineoverridevirtual

Reimplemented from MonitorableIterBase< ITyp >.

Member Data Documentation

◆ ml_

template<class ITyp >
MonitorLock MonitorableIter4Read< ITyp >::ml_
protected

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