OpendTect-6_4  6.4
mmexecproxy.h
Go to the documentation of this file.
1 #ifndef mmexecproxy_h
2 #define mmexecproxy_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bert
9  Date: Jul 2008
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "bufstring.h"
16 #include "uistring.h"
17 
18 
19 namespace MMProc
20 {
21 
23 { mODTextTranslationClass(ExecProxy);
24  ExecProxy(const char* prognm,const char* hostnm);
25 
26  bool launch(const IOPar&);
27  enum Status { NotStarted, Running, Failed, Ended };
28  Status update();
29 
30  uiString uiMessage() const { return msg_; }
31  int nrDone() const { return nrdone_; }
32 
33  const char* progName() const { return prognm_; }
34  const char* hostName() const { return hostnm_; }
35 
36 protected:
37 
41  int nrdone_;
42 
43 };
44 
45 
46 }; // namespace MMProc
47 
48 
49 #endif
Definition: mmexecproxy.h:22
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
const BufferString prognm_
Definition: mmexecproxy.h:38
Definition: uistring.h:89
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
const char * hostName() const
Definition: mmexecproxy.h:34
Multi Machine Processing.
Definition: mmassetmgr.h:23
uiString uiMessage() const
Definition: mmexecproxy.h:30
const char * progName() const
Definition: mmexecproxy.h:33
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
int nrDone() const
Definition: mmexecproxy.h:31
Status
Definition: mmexecproxy.h:27
uiString msg_
Definition: mmexecproxy.h:40
int nrdone_
Definition: mmexecproxy.h:41
#define mClass(module)
Definition: commondefs.h:164
const BufferString hostnm_
Definition: mmexecproxy.h:39

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