 |
OpendTect
6.6
|
Go to the documentation of this file.
43 , prestep(this), poststep(this) {}
49 bool islast=
true,
int delaybtwnstepsinms=0 )
50 {
return goImpl(s,isfirst,islast,delaybtwnstepsinms); }
52 bool islast=
true,
int delaybtwnstepsinms=0 )
53 {
return goImpl(&s,isfirst,islast,delaybtwnstepsinms); }
80 bool ownsexecs=
true );
94 { nrdonetext_ = txt; }
virtual bool execute()
Definition: executor.h:59
TaskRunner to show progress of a Task in text format.
Definition: executor.h:120
void setNrDoneText(const uiString &txt)
If set, will use this and the counted nrdone.
Definition: executor.h:93
Notifier< Executor > poststep
Only when MoreToDo will be returned.
Definition: executor.h:56
uiString nrdonetext_
Definition: executor.h:107
#define od_int64
Definition: plftypes.h:35
#define mExpClass(module)
Definition: commondefs.h:177
Executor consisting of other executors.
Definition: executor.h:77
bool ownsexecs_
Definition: executor.h:110
virtual bool goToNextExecutor()
uiString uiNrDoneText() const
will be nrDoneText() in 7.x
Notifier< Executor > prestep
Definition: executor.h:55
od_ostream & strm_
Definition: executor.h:130
Executor(const char *nm)
Definition: executor.h:41
ExecutorGroup(const char *nm, bool parallel=false, bool ownsexecs=true)
virtual void add(Executor *)
TextTaskRunner(od_ostream &strm)
Definition: executor.h:122
Generalization of something (e.g. a computation) that needs to be done in multiple steps.
Definition: task.h:28
Specification to enable chunkwise execution of a process.
Definition: executor.h:39
int currentexec_
Definition: executor.h:106
Class that can execute a task.
Definition: task.h:170
virtual int64_t nrDone() const
int sumstart_
Definition: executor.h:103
ObjectSet< Executor > & executors_
Definition: executor.h:108
const bool parallel_
Definition: executor.h:105
virtual ~Executor()
Definition: executor.h:44
uiString uiMessage() const
will be message() again in 7.x
Executor * getExecutor(int idx)
Definition: executor.h:91
bool go(od_ostream &s, bool isfirst=true, bool islast=true, int delaybtwnstepsinms=0)
Definition: executor.h:51
virtual int64_t totalNr() const
String that is able to hold international (UTF-8) strings for the user interface.
Definition: uistring.h:121
int nrExecutors()
Definition: executor.h:90
bool go(od_ostream *s=0, bool isfirst=true, bool islast=true, int delaybtwnstepsinms=0)
Definition: executor.h:48
TypeSet< int > executorres_
Definition: executor.h:109
OD class for stream write common access to the user log file, or std::cout in other than od_main.
Definition: od_ostream.h:26
virtual bool goImpl(od_ostream *, bool, bool, int)
int sumstop_
Definition: executor.h:104
The generalization of something (e.g. a computation) where the steps must be done in sequence,...
Definition: task.h:125
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021