OpendTect-6_4  6.4
uiclusterproc.h
Go to the documentation of this file.
1 #ifndef uiclusterproc_h
2 #define uiclusterproc_h
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Raman Singh
8  Date: April 2009
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uiseismod.h"
15 #include "uidialog.h"
16 #include "uistring.h"
17 
18 class DirList;
19 class TaskRunner;
20 class Timer;
21 class uiLabel;
22 class uiProgressBar;
23 class uiTextEdit;
24 
25 class ClusterProc;
26 
29 public:
30  uiClusterProc(uiParent*,const IOPar& iop);
31  ~uiClusterProc();
32 
33  static bool mergeOutput(const IOPar&,TaskRunner*,BufferString&,
34  bool withdel=true);
35  static const char* sKeyScriptDir() { return "Script dir"; }
36  uiString sNrDoneText(const uiString& nrdone,
37  const uiString& totnr,
38  const uiString& nrerror);
39 protected:
40 
41  int totalnr_;
42  const IOPar& pars_;
45  ClusterProc& proc_;
46 
50 
51  void progressCB(CallBacker*);
52  bool submitJobs();
53 };
54 
55 #endif
Timer * timer_
Definition: uiclusterproc.h:43
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Definition: uitextedit.h:74
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
BufferString scriptdirnm_
Definition: uiclusterproc.h:44
Definition: uistring.h:89
Definition: uiparent.h:26
Definition: uidialog.h:42
ClusterProc & proc_
Definition: uiclusterproc.h:45
Definition: uiprogressbar.h:20
Provides file and directory names in a certain directory.
Definition: dirlist.h:23
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Class that can execute a task.
Definition: task.h:169
static const char * sKeyScriptDir()
Definition: uiclusterproc.h:35
uiProgressBar * progbar_
Definition: uiclusterproc.h:49
uiTextEdit * msgfld_
Definition: uiclusterproc.h:48
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Definition: uilabel.h:24
Definition: uiclusterproc.h:27
int totalnr_
Definition: uiclusterproc.h:41
Timer class.
Definition: timer.h:25
uiLabel * label_
Definition: uiclusterproc.h:47
const IOPar & pars_
Definition: uiclusterproc.h:42

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019