OpendTect  6.6
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 ()
 
virtual ~ClusterJobDispatcher ()
 
virtual bool canHandle (const JobSpec &) const
 
virtual bool canResume (const JobSpec &) const
 
virtual uiString description () const
 
virtual bool isSuitedFor (const char *) const
 
- 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 bool userWantsResume (const IOPar &)
 

Protected Member Functions

int defIdx (const char *pnm=0) const
 
virtual bool launch (ID *)
 
- Protected Member Functions inherited from Batch::JobDispatcher
virtual bool init ()
 
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()

virtual Batch::ClusterJobDispatcher::~ClusterJobDispatcher ( )
inlinevirtual

Member Function Documentation

◆ addDef()

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

◆ canHandle()

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

Reimplemented from Batch::JobDispatcher.

◆ canResume()

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

Reimplemented from Batch::JobDispatcher.

◆ defIdx()

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

◆ description()

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

Implements Batch::JobDispatcher.

◆ isSuitedFor()

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

Implements Batch::JobDispatcher.

◆ launch()

virtual bool Batch::ClusterJobDispatcher::launch ( ID )
protectedvirtual

Implements Batch::JobDispatcher.


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