OpendTect-6_4
6.4
|
executes the work for a single VolProc::Chain. More...
Classes | |
class | Epoch |
Public Member Functions | |
ChainExecutor (Chain &) | |
~ChainExecutor () | |
bool | setCalculationScope (const TrcKeySampling &, const StepInterval< float > &, od_uint64 &maxmemusage, int *nrchunks=0) |
mDeprecated int | nrChunks (const TrcKeySampling &, const StepInterval< int > &, int extranroutcomps=0) |
mDeprecated od_int64 | computeMaximumMemoryUsage (const TrcKeySampling &, const StepInterval< int > &) |
uiString | errMsg () const |
uiString | uiNrDoneText () const |
will be nrDoneText() in 7.x More... | |
mDeprecated bool | setCalculationScope (const TrcKeySampling &, const StepInterval< int > &) |
mDeprecated void | setOutputZSampling (const StepInterval< float > &) |
const RegularSeisDataPack * | getOutput () const |
virtual int | nextStep () |
virtual od_int64 | nrDone () const |
virtual od_int64 | totalNr () const |
virtual uiString | uiMessage () const |
will be message() again in 7.x More... | |
bool | areSamplesIndependent () const |
bool | needsFullVolume () const |
void | controlWork (Task::Control) |
void | setJobCommunicator (JobCommunic *) |
Public Member Functions inherited from Executor | |
Executor (const char *nm) | |
virtual | ~Executor () |
virtual int | doStep () |
bool | go (od_ostream *s=0, bool isfirst=true, bool islast=true, int delaybtwnstepsinms=0) |
bool | go (od_ostream &s, bool isfirst=true, bool islast=true, int delaybtwnstepsinms=0) |
virtual bool | execute () |
Public Member Functions inherited from SequentialTask | |
SequentialTask (const char *nm=0) | |
virtual | ~SequentialTask () |
void | setProgressMeter (ProgressMeter *) |
Must be called before execute() More... | |
ProgressMeter * | progressMeter () |
const ProgressMeter * | progressMeter () const |
bool | execute () |
Public Member Functions inherited from Task | |
virtual | ~Task () |
virtual void | enableWorkControl (bool=true) |
Must be called before execute() More... | |
bool | workControlEnabled () const |
virtual Control | getState () const |
Public Member Functions inherited from NamedObject | |
NamedObject (const char *nm=0) | |
NamedObject (const NamedObject *linkedto) | |
NamedObject (const NamedObject &) | |
virtual | ~NamedObject () |
void | setLinkedTo (NamedObject *) |
bool | operator== (const NamedObject &oth) const |
virtual const OD::String & | name () const |
virtual const OD::String & | annotName () const |
virtual void | setName (const char *) |
void | setCleanName (const char *) |
cleans string first More... | |
void | deleteNotify (const CallBack &) |
Public Member Functions inherited from CallBacker | |
CallBacker () | |
CallBacker (const CallBacker &) | |
virtual | ~CallBacker () |
bool | attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false) |
bool | attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) |
void | detachCB (NotifierAccess &, const CallBack &) |
void | detachCB (NotifierAccess *notif, const CallBack &cb) |
bool | isNotifierAttached (NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
Static Public Member Functions | |
static uiString | sGetStepErrMsg () |
Static Public Member Functions inherited from SequentialTask | |
static int | ErrorOccurred () |
static int | Finished () |
static int | MoreToDo () |
static int | WarningAvailable () |
Static Public Member Functions inherited from Task | |
static uiString | stdNrDoneText () |
static uiString | uiStdNrDoneText () |
Private Member Functions | |
mODTextTranslationClass (ChainExecutor) | |
bool | scheduleWork () |
void | updateScheduledStepsSampling (const TrcKeySampling &, const StepInterval< float > &) |
int | nrChunks (const TrcKeySampling &, const StepInterval< float > &, od_uint64 &memusage) |
od_uint64 | calculateMaximumMemoryUsage (const TrcKeySampling &, const StepInterval< float > &) |
void | releaseMemory () |
int | computeLatestEpoch (Step::ID) const |
mDeprecated void | computeComputationScope (Step::ID stepid, TrcKeySampling &stepoutputhrg, StepInterval< int > &stepoutputzrg) const |
bool | getCalculationScope (Step::ID stepid, TrcKeyZSampling &) const |
mDeprecated float | getSampleShift (float) const |
int | getStepEpochIndex (Step::ID) const |
mDeprecated od_int64 | getStepOutputMemory (Step::ID, int nr, const TypeSet< TrcKeySampling > &epochstks, const TypeSet< StepInterval< int > > &) const |
void | adjustStepsNrComponents (bool is2d) |
bool | needSplit (od_int64 usage, od_int64 &freemem, int &nrchunks) const |
Private Attributes | |
Epoch * | curepoch_ |
bool | isok_ |
Chain & | chain_ |
TrcKeySampling | outputhrg_ |
StepInterval< int > | outputzrg_ |
uiString | errmsg_ |
ObjectSet< Step > | scheduledsteps_ |
ObjectSet< Epoch > | epochs_ |
Chain::Web | web_ |
int | totalnrepochs_ |
const RegularSeisDataPack * | outputdp_ |
JobCommunic * | jobcomm_ |
Friends | |
class | ChainOutput |
Additional Inherited Members | |
Public Types inherited from Task | |
enum | Control { Run, Pause, Stop } |
Public Attributes inherited from Executor | |
Notifier< Executor > | prestep |
Notifier< Executor > | poststep |
Only when MoreToDo will be returned. More... | |
Protected Member Functions inherited from Executor | |
virtual bool | goImpl (od_ostream *, bool, bool, int) |
Protected Member Functions inherited from Task | |
Task (const char *nm=0) | |
virtual bool | shouldContinue () |
Protected Member Functions inherited from CallBacker | |
void | detachAllNotifiers () |
Call from the destructor of your inherited object. More... | |
Protected Attributes inherited from SequentialTask | |
ProgressMeter * | progressmeter_ |
int | lastupdate_ |
Protected Attributes inherited from Task | |
Control | control_ |
Threads::ConditionVar * | workcontrolcondvar_ |
Protected Attributes inherited from NamedObject | |
BufferString * | name_ |
NamedObject * | linkedto_ |
CallBackSet * | delnotify_ |
executes the work for a single VolProc::Chain.
VolProc::ChainExecutor::ChainExecutor | ( | Chain & | ) |
VolProc::ChainExecutor::~ChainExecutor | ( | ) |
Mandatory before the execution is started. The execution can start if success. However if nrchunks > 1, the execution will use a smaller sampling than requested to avoid running short of memory.
|
private |
bool VolProc::ChainExecutor::areSamplesIndependent | ( | ) | const |
|
private |
|
private |
|
private |
mDeprecated od_int64 VolProc::ChainExecutor::computeMaximumMemoryUsage | ( | const TrcKeySampling & | , |
const StepInterval< int > & | |||
) |
|
virtual |
Reimplemented from Task.
uiString VolProc::ChainExecutor::errMsg | ( | ) | const |
|
private |
const RegularSeisDataPack* VolProc::ChainExecutor::getOutput | ( | ) | const |
|
private |
|
private |
|
private |
|
private |
bool VolProc::ChainExecutor::needsFullVolume | ( | ) | const |
|
private |
|
virtual |
MoreToDo() | Not finished. Call me again. |
Finished() | Nothing more to do. |
ErrorOccurred() | Something went wrong. |
Implements SequentialTask.
mDeprecated int VolProc::ChainExecutor::nrChunks | ( | const TrcKeySampling & | , |
const StepInterval< int > & | , | ||
int | extranroutcomps = 0 |
||
) |
|
private |
|
virtual |
Reimplemented from Task.
|
private |
|
private |
bool VolProc::ChainExecutor::setCalculationScope | ( | const TrcKeySampling & | , |
const StepInterval< float > & | , | ||
od_uint64 & | maxmemusage, | ||
int * | nrchunks = 0 |
||
) |
Return 0 if not enough memory for the execution
mDeprecated bool VolProc::ChainExecutor::setCalculationScope | ( | const TrcKeySampling & | , |
const StepInterval< int > & | |||
) |
void VolProc::ChainExecutor::setJobCommunicator | ( | JobCommunic * | ) |
mDeprecated void VolProc::ChainExecutor::setOutputZSampling | ( | const StepInterval< float > & | ) |
|
static |
|
virtual |
|
virtual |
will be nrDoneText() in 7.x
Reimplemented from Task.
|
private |
|
friend |
|
private |
|
private |
|
mutableprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019