OpendTect  7.0
Public Types | Public Member Functions | Public Attributes | Protected Attributes | Friends | List of all members
JobInfo Class Reference

All information on a job. More...

Public Types

enum  State {
  ToDo , Scheduled , Preparing , Working ,
  WrappingUp , Paused , Completed , JobFailed ,
  HostFailed
}
 

Public Member Functions

 JobInfo (int dnr)
 
 ~JobInfo ()
 

Public Attributes

int descnr_
 JobdescProv's job number. More...
 
const HostDatahostdata_ = nullptr
 Host currently working on job. More...
 
int hstfailures_ = 0
 Failures probably caused by host. More...
 
BufferString infomsg_
 Error msg if failure. More...
 
int jobfailures_ = 0
 Failures probably caused by job. More...
 
int nrdone_ = -1
 
int osprocid_ = -1
 OS process ID. More...
 
State state_ = ToDo
 
BufferString statusmsg_ = "Scheduled"
 

Protected Attributes

int recvtime_ = 0
 
int starttime_ = 0
 

Friends

class JobRunner
 

Detailed Description

All information on a job.

<>

Member Enumeration Documentation

◆ State

Enumerator
ToDo 
Scheduled 
Preparing 
Working 
WrappingUp 
Paused 
Completed 
JobFailed 
HostFailed 

Constructor & Destructor Documentation

◆ JobInfo()

JobInfo::JobInfo ( int  dnr)

◆ ~JobInfo()

JobInfo::~JobInfo ( )

Friends And Related Function Documentation

◆ JobRunner

friend class JobRunner
friend

Member Data Documentation

◆ descnr_

int JobInfo::descnr_

JobdescProv's job number.

◆ hostdata_

const HostData* JobInfo::hostdata_ = nullptr

Host currently working on job.

◆ hstfailures_

int JobInfo::hstfailures_ = 0

Failures probably caused by host.

◆ infomsg_

BufferString JobInfo::infomsg_

Error msg if failure.

◆ jobfailures_

int JobInfo::jobfailures_ = 0

Failures probably caused by job.

◆ nrdone_

int JobInfo::nrdone_ = -1

◆ osprocid_

int JobInfo::osprocid_ = -1

OS process ID.

◆ recvtime_

int JobInfo::recvtime_ = 0
protected

◆ starttime_

int JobInfo::starttime_ = 0
protected

◆ state_

State JobInfo::state_ = ToDo

◆ statusmsg_

BufferString JobInfo::statusmsg_ = "Scheduled"

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