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

kicks off Cluster job dispatcher. More...

Inheritance diagram for Batch::ClusterJobDispatcher:
[legend]

Public Member Functions

 ClusterJobDispatcher ()
 
 ~ClusterJobDispatcher ()
 
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 (ClusterProgDef *)
 
- 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 launch (ID *) override
 
- Protected Member Functions inherited from Batch::JobDispatcher
virtual bool init ()
 
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 Cluster job dispatcher.

<>

Constructor & Destructor Documentation

◆ ClusterJobDispatcher()

Batch::ClusterJobDispatcher::ClusterJobDispatcher ( )

◆ ~ClusterJobDispatcher()

Batch::ClusterJobDispatcher::~ClusterJobDispatcher ( )

Member Function Documentation

◆ addDef()

static void Batch::ClusterJobDispatcher::addDef ( ClusterProgDef )
static

◆ canHandle()

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

Reimplemented from Batch::JobDispatcher.

◆ canResume()

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

Reimplemented from Batch::JobDispatcher.

◆ defIdx()

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

◆ description()

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

Implements Batch::JobDispatcher.

◆ isSuitedFor()

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

Implements Batch::JobDispatcher.

◆ launch()

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

Implements Batch::JobDispatcher.


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