OpendTect  6.6
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  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "bufstring.h"
15 #include "uistring.h"
16 
17 
18 namespace MMProc
19 {
20 
23  ExecProxy(const char* prognm,const char* hostnm);
24 
25  bool launch(const IOPar&);
26  enum Status { NotStarted, Running, Failed, Ended };
28 
29  uiString uiMessage() const { return msg_; }
30  int nrDone() const { return nrdone_; }
31 
32  const char* progName() const { return prognm_; }
33  const char* hostName() const { return hostnm_; }
34 
35 protected:
36 
40  int nrdone_;
41 
42 };
43 
44 
45 }; // namespace MMProc
46 
47 
MMProc::ExecProxy::hostnm_
const BufferString hostnm_
Definition: mmexecproxy.h:38
uistring.h
MMProc::ExecProxy::mODTextTranslationClass
mODTextTranslationClass(ExecProxy)
MMProc::ExecProxy::Status
Status
Definition: mmexecproxy.h:26
MMProc::ExecProxy::msg_
uiString msg_
Definition: mmexecproxy.h:39
MMProc::ExecProxy::prognm_
const BufferString prognm_
Definition: mmexecproxy.h:37
MMProc::ExecProxy::update
Status update()
MMProc::ExecProxy::hostName
const char * hostName() const
Definition: mmexecproxy.h:33
bufstring.h
MMProc::ExecProxy::ExecProxy
ExecProxy(const char *prognm, const char *hostnm)
mClass
#define mClass(module)
Definition: commondefs.h:181
MMProc::ExecProxy::uiMessage
uiString uiMessage() const
Definition: mmexecproxy.h:29
MMProc::ExecProxy::nrdone_
int nrdone_
Definition: mmexecproxy.h:40
MMProc::ExecProxy::nrDone
int nrDone() const
Definition: mmexecproxy.h:30
BufferString
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
MMProc::ExecProxy
Definition: mmexecproxy.h:22
uiString
String that is able to hold international (UTF-8) strings for the user interface.
Definition: uistring.h:121
MMProc::ExecProxy::progName
const char * progName() const
Definition: mmexecproxy.h:32
MMProc
Distributed Computing.
Definition: mmassetmgr.h:23
IOPar
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55
MMProc::ExecProxy::launch
bool launch(const IOPar &)

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