15 #include "uitoolsmod.h" 23 namespace Threads {
class Thread; }
33 bool execute(
Task& t);
#define mExpClass(module)
Definition: commondefs.h:160
uiLabel * proglbl_
Definition: uitaskrunner.h:41
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
bool dispmsgonerr_
Definition: uitaskrunner.h:54
A lock of a type that (hopefully) suits your needs. To use it, you need the Locker class...
Definition: threadlock.h:53
Task * task_
Definition: uitaskrunner.h:47
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Threads::Lock dispinfolock_
Definition: uitaskrunner.h:48
Threads::Lock uitaskrunnerthreadlock_
Definition: uitaskrunner.h:61
uiString prevnrdonetext_
Definition: uitaskrunner.h:53
Definition: uistring.h:89
Definition: uiparent.h:26
int prevtotalnr_
Definition: uitaskrunner.h:49
int prevnrdone_
Definition: uitaskrunner.h:50
Definition: uidialog.h:42
interface to threads that should be portable.
Definition: atomic.h:28
Definition: uiprogressbar.h:20
Is the base class for all threads. Start it by creating it and give it the function or CallBack to ex...
Definition: thread.h:283
Class that can execute a task.
Definition: task.h:169
Threads::Thread * thread_
Definition: uitaskrunner.h:60
int symbidx_
Definition: uitaskrunner.h:45
uiString prevmessage_
Definition: uitaskrunner.h:52
Timer & tim_
Definition: uitaskrunner.h:43
int getState() const
Definition: uitaskrunner.h:35
int state_
Definition: uitaskrunner.h:57
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Definition: uitaskrunner.h:26
int prevpercentage_
Definition: uitaskrunner.h:51
uiString lastMsg() const
Definition: uitaskrunner.h:34
uiProgressBar * progbar_
Definition: uitaskrunner.h:40
void displayMsgOnError(bool yn)
Definition: uitaskrunner.h:36
Threads::Lock statelock_
Definition: uitaskrunner.h:56
BufferString execnm_
Definition: uitaskrunner.h:44
Timer class.
Definition: timer.h:25
Generalization of something (e.g. a computation) that needs to be done in multiple steps...
Definition: task.h:28