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

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