OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
SeisPSImpDataMgr Class Reference

Manages import of acquisition-sorted PS data. May take loads of memory. More...

Public Member Functions

 SeisPSImpDataMgr (const MultiID &pswrid)
 
virtual ~SeisPSImpDataMgr ()
 
void add (SeisTrc *)
 trc becomes mine More...
 
void endReached ()
 call after last 'add' More...
 
bool needWrite () const
 
bool writeGather ()
 Write possibly incomplete gather if !needWrite() More...
 
bool isEmpty () const
 
int maxInlOffset () const
 
void setMaxInlOffset (int i)
 
void setSampleNames (const BufferStringSet &bss)
 
uiString errMsg () const
 
const SeisTrcWritertrcWriter () const
 
bool constGatherSize () const
 

Protected Member Functions

void updateStatus (int)
 

Protected Attributes

ObjectSet< SeisPSImpLineBuf > lines_
 
MultiID wrid_
 
SeisTrcWriterwrr_
 
int maxinloffs_
 
TypeSet< int > towrite_
 
BufferStringSet samplenms_
 
int gathersize_
 
uiString errmsg_
 

Private Member Functions

 mODTextTranslationClass (SeisPSImpDataMgr)
 

Detailed Description

Manages import of acquisition-sorted PS data. May take loads of memory.

If the import is handling more data than what fits in memory (and this is easily reached), you should set the maximum possible inline offset. This allows writing and disposing of inlines of gathers that can never be reached afterwards.

Constructor & Destructor Documentation

SeisPSImpDataMgr::SeisPSImpDataMgr ( const MultiID pswrid)
virtual SeisPSImpDataMgr::~SeisPSImpDataMgr ( )
virtual

Member Function Documentation

void SeisPSImpDataMgr::add ( SeisTrc )

trc becomes mine

bool SeisPSImpDataMgr::constGatherSize ( ) const
inline
void SeisPSImpDataMgr::endReached ( )

call after last 'add'

uiString SeisPSImpDataMgr::errMsg ( ) const
inline
bool SeisPSImpDataMgr::isEmpty ( ) const
inline
int SeisPSImpDataMgr::maxInlOffset ( ) const
inline
SeisPSImpDataMgr::mODTextTranslationClass ( SeisPSImpDataMgr  )
private
bool SeisPSImpDataMgr::needWrite ( ) const
inline
void SeisPSImpDataMgr::setMaxInlOffset ( int  i)
inline
void SeisPSImpDataMgr::setSampleNames ( const BufferStringSet bss)
inline
const SeisTrcWriter* SeisPSImpDataMgr::trcWriter ( ) const
inline
void SeisPSImpDataMgr::updateStatus ( int  )
protected
bool SeisPSImpDataMgr::writeGather ( )

Write possibly incomplete gather if !needWrite()

Member Data Documentation

uiString SeisPSImpDataMgr::errmsg_
mutableprotected
int SeisPSImpDataMgr::gathersize_
protected
ObjectSet<SeisPSImpLineBuf> SeisPSImpDataMgr::lines_
protected
int SeisPSImpDataMgr::maxinloffs_
protected
BufferStringSet SeisPSImpDataMgr::samplenms_
protected
TypeSet<int> SeisPSImpDataMgr::towrite_
protected
MultiID SeisPSImpDataMgr::wrid_
protected
SeisTrcWriter* SeisPSImpDataMgr::wrr_
protected

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