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

base class for const Monitorable iterator. More...

Inheritance diagram for MonitorableIter4Read< ITyp >:
[legend]

Public Member Functions

 MonitorableIter4Read (const Monitorable &, ITyp startidx, ITyp stopidx)
 
 MonitorableIter4Read (const MonitorableIter4Read &)
 
virtual void reInit ()
 
virtual void retire ()
 
- Public Member Functions inherited from MonitorableIterBase< ITyp >
 MonitorableIterBase (const Monitorable &, IdxType startidx, IdxType stopidx)
 
 MonitorableIterBase (const MonitorableIterBase &)
 
virtual ~MonitorableIterBase ()
 
const Monitorablemonitored () const
 
bool isEmpty () const
 
size_type size () const
 
bool next ()
 
bool isForward () const
 
bool isValid () const
 
bool atFirst () const
 
bool atLast () const
 
IdxType curIdx () const
 
bool isPresent (IdxType) const
 

Protected Attributes

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

Private Member Functions

MonitorableIter4Readoperator= (const MonitorableIter4Read &)
 

Additional Inherited Members

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

Detailed Description

template<class ITyp>
class MonitorableIter4Read< ITyp >

base class for const Monitorable 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

template<class ITyp>
MonitorableIter4Read< ITyp >::MonitorableIter4Read ( const Monitorable obj,
ITyp  startidx,
ITyp  stopidx 
)
inline
template<class ITyp>
MonitorableIter4Read< ITyp >::MonitorableIter4Read ( const MonitorableIter4Read< ITyp > &  oth)
inline

Member Function Documentation

template<class ITyp>
MonitorableIter4Read& MonitorableIter4Read< ITyp >::operator= ( const MonitorableIter4Read< ITyp > &  )
inlineprivate
template<class ITyp >
void MonitorableIter4Read< ITyp >::reInit ( )
inlinevirtual

Reimplemented from MonitorableIterBase< ITyp >.

template<class ITyp >
void MonitorableIter4Read< ITyp >::retire ( )
inlinevirtual

Reimplemented from MonitorableIterBase< ITyp >.

Member Data Documentation

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

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