OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Batch::MMJobDispatcher Class Reference

kicks off MM batch job dispatcher. More...

Inheritance diagram for Batch::MMJobDispatcher:
[legend]

Public Member Functions

 MMJobDispatcher ()
 
virtual ~MMJobDispatcher ()
 
bool canHandle (const JobSpec &) const override
 
bool canResume (const JobSpec &) const override
 
uiString description () const override
 
bool isSuitedFor (const char *) const override
 
- Public Member Functions inherited from Batch::JobDispatcher
 JobDispatcher ()
 
virtual ~JobDispatcher ()
 
uiString errMsg () const
 
bool go (const JobSpec &, ID *=nullptr)
 
BufferString jobName () const
 
void setJobName (const char *)
 
void setToDefParFileName ()
 

Static Public Member Functions

static void addDef (MMProgDef *)
 
- Static Public Member Functions inherited from Batch::JobDispatcher
static void addIDTo (ID, OS::MachineCommand &)
 
static void getDefParFilename (const char *prognm, BufferString &)
 
static ID getInvalid ()
 
static BufferString getJobName (const char *)
 
static void getJobNames (BufferStringSet &)
 
static void setUserWantsResume (IOPar &, bool)
 
static const char * sKeyFinishMsg ()
 
static bool userWantsResume (const IOPar &)
 

Protected Member Functions

int defIdx (const char *pnm=0) const
 
bool init () override
 
bool launch (ID *) override
 
- Protected Member Functions inherited from Batch::JobDispatcher
void serviceEnded (CallBacker *)
 
bool writeParFile () const
 

Additional Inherited Members

- Public Attributes inherited from Batch::JobDispatcher
JobSpec jobspec_
 
BufferString parfnm_
 
- Protected Attributes inherited from Batch::JobDispatcher
uiString errmsg_
 

Detailed Description

kicks off MM batch job dispatcher.

<>

Constructor & Destructor Documentation

◆ MMJobDispatcher()

Batch::MMJobDispatcher::MMJobDispatcher ( )

◆ ~MMJobDispatcher()

virtual Batch::MMJobDispatcher::~MMJobDispatcher ( )
inlinevirtual

Member Function Documentation

◆ addDef()

static void Batch::MMJobDispatcher::addDef ( MMProgDef )
static

◆ canHandle()

bool Batch::MMJobDispatcher::canHandle ( const JobSpec ) const
overridevirtual

Reimplemented from Batch::JobDispatcher.

◆ canResume()

bool Batch::MMJobDispatcher::canResume ( const JobSpec ) const
overridevirtual

Reimplemented from Batch::JobDispatcher.

◆ defIdx()

int Batch::MMJobDispatcher::defIdx ( const char *  pnm = 0) const
protected

◆ description()

uiString Batch::MMJobDispatcher::description ( ) const
overridevirtual

Implements Batch::JobDispatcher.

◆ init()

bool Batch::MMJobDispatcher::init ( )
overrideprotectedvirtual

Reimplemented from Batch::JobDispatcher.

◆ isSuitedFor()

bool Batch::MMJobDispatcher::isSuitedFor ( const char *  ) const
overridevirtual

Implements Batch::JobDispatcher.

◆ launch()

bool Batch::MMJobDispatcher::launch ( ID )
overrideprotectedvirtual

Implements Batch::JobDispatcher.


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