![]() |
OpendTect 8.0
|
#include <seiswrite.h>
Public Member Functions | |
| SeisSequentialWriter (SeisTrcWriter *, int buffsize=-1) | |
| virtual | ~SeisSequentialWriter () |
| uiString | errMsg () const |
| bool | finishWrite () |
| mOD_DisableCopy (SeisSequentialWriter) bool announceTrace(const BinID &) | |
| bool | submitGather (ObjectSet< SeisTrc > &, bool waitforbuffer=true) |
| bool | submitTrace (SeisTrc *, bool waitforbuffer=true) |
Protected Member Functions | |
| bool | iterateBuffer (bool waitforbuffer) |
| void | reportWrite (const char *) |
Protected Attributes | |
| TypeSet< BinID > | announcedtraces_ |
| uiString | errmsg_ |
| BinID | latestbid_ |
| Threads::ConditionVar & | lock_ |
| const int | maxbuffersize_ |
| ObjectSet< SeisTrc > | outputs_ |
| int | queueid_ |
| SeisTrcWriter * | writer_ |
Friends | |
| class | SeisSequentialWriterTask |
Writes traces that are submitted in random order in the correct sequence.
<>
| SeisSequentialWriter::SeisSequentialWriter | ( | SeisTrcWriter * | , |
| int | buffsize = -1 ) |
Writer is owned by caller, not mine. Default bufsize is 2xnrprocessors.
|
virtual |
|
inline |
| bool SeisSequentialWriter::finishWrite | ( | ) |
Wait for everything to be written. Should be after final submitTrace, before closure.
|
protected |
| SeisSequentialWriter::mOD_DisableCopy | ( | SeisSequentialWriter | ) | const & |
Tell the writer that this binid will be submitted later.
|
protected |
Trcs become mine. All traces are assumed to be from the same cdp. Traces will be written out in the same order as in the set. If waitforbuffer is true and buffer is full, wait until buffer gets smaller.
| bool SeisSequentialWriter::submitTrace | ( | SeisTrc * | , |
| bool | waitforbuffer = true ) |
Trc becomes mine. If waitforbuffer is true and buffer is full, wait until buffer gets smaller.
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2025