OpendTect  6.3
singlebatchjobdispatch.h
Go to the documentation of this file.
1 #pragma once
2 /*+
3 ________________________________________________________________________
4 
5  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
6  Author: Bert
7  Date: Dec 2013
8  RCS: $Id$
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "mmprocmod.h"
14 
15 #include "batchjobdispatch.h"
16 #include "factory.h"
17 #include "uistring.h"
18 
19 
20 namespace Batch
21 {
22 
27 public:
28 
30  virtual ~SingleJobDispatcher() {}
31 
32  virtual uiString description() const;
33  virtual bool isSuitedFor(const char*) const { return true; }
34 
36  "Single Process",tr("Single Process"));
37 
40 
41 protected:
42 
43  virtual bool init();
44  virtual bool launch();
45 
46 };
47 
48 } // namespace Batch
#define mExpClass(module)
Definition: commondefs.h:157
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
kicks off OD batch jobs in a single process.
Definition: singlebatchjobdispatch.h:25
bool init()
Base class (with factory) for methods to kick-off an OD batch job.
Definition: batchjobdispatch.h:67
#define mDefaultFactoryInstantiation(baseclss, clss, keywrd, usernm)
Definition: factory.h:287
Definition: uistring.h:88
BufferString remotehost_
Definition: singlebatchjobdispatch.h:38
virtual ~SingleJobDispatcher()
Definition: singlebatchjobdispatch.h:30
Multi Machine Processing.
Definition: mmassetmgr.h:21
Definition: batchjobdispatch.h:19
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:38
virtual bool isSuitedFor(const char *) const
Definition: singlebatchjobdispatch.h:33
BufferString remoteexec_
Definition: singlebatchjobdispatch.h:39

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