OpendTect
6.6
|
Public Member Functions | |
SeisSequentialWriter (SeisTrcWriter *, int buffsize=-1) | |
~SeisSequentialWriter () | |
bool | announceTrace (const BinID &) |
uiString | errMsg () const |
bool | finishWrite () |
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.
SeisSequentialWriter::~SeisSequentialWriter | ( | ) |
bool SeisSequentialWriter::announceTrace | ( | const BinID & | ) |
Tell the writer that this binid will be submitted later.
|
inline |
bool SeisSequentialWriter::finishWrite | ( | ) |
Wait for everything to be written. Should be after final submitTrace, before closure.
|
protected |
|
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-2022