OpendTect  6.6
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)
 

Public Attributes

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

Protected Attributes

int recvtime_
 
int starttime_
 

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)
inline

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_

Host currently working on job.

◆ hstfailures_

int JobInfo::hstfailures_

Failures probably caused by host.

◆ infomsg_

BufferString JobInfo::infomsg_

Error msg if failure.

◆ jobfailures_

int JobInfo::jobfailures_

Failures probably caused by job.

◆ nrdone_

int JobInfo::nrdone_

◆ osprocid_

int JobInfo::osprocid_

OS process ID.

◆ recvtime_

int JobInfo::recvtime_
protected

◆ starttime_

int JobInfo::starttime_
protected

◆ state_

State JobInfo::state_

◆ statusmsg_

BufferString JobInfo::statusmsg_

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