1 #ifndef clusterjobdispatch_h 2 #define clusterjobdispatch_h 14 #include "mmprocmod.h" 29 virtual bool isSuitedFor(
const char* prognm)
const = 0;
31 {
return isSuitedFor( js.
prognm_ ); }
46 virtual uiString description()
const;
47 virtual bool isSuitedFor(
const char*)
const;
48 virtual bool canHandle(
const JobSpec&)
const;
49 virtual bool canResume(
const JobSpec&)
const;
52 "Cluster Process",tr(
"Cluster Process"));
58 virtual bool launch();
60 int defIdx(
const char* pnm=0)
const;
#define mExpClass(module)
Definition: commondefs.h:160
ClusterProgDef()
Definition: clusterjobdispatch.h:27
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
kicks off OD batch jobs in a single process.
Definition: batchjobdispatch.h:117
Base class (with factory) for methods to kick-off an OD batch job.
Definition: batchjobdispatch.h:70
#define mDefaultFactoryInstantiation(baseclss, clss, keywrd, usernm)
Definition: factory.h:289
Definition: uistring.h:89
the data we need to specify an OD batch job.
Definition: batchjobdispatch.h:26
BufferString prognm_
Definition: batchjobdispatch.h:41
Multi Machine Processing.
Definition: mmassetmgr.h:23
Definition: batchjobdispatch.h:21
virtual ~ClusterJobDispatcher()
Definition: clusterjobdispatch.h:44
virtual bool canResume(const JobSpec &js) const
Definition: clusterjobdispatch.h:32
virtual bool canHandle(const JobSpec &js) const
Definition: clusterjobdispatch.h:30
Base class for Cluster prog definitions.
Definition: clusterjobdispatch.h:23
kicks off Cluster job dispatcher.
Definition: clusterjobdispatch.h:39