OpendTect-6_4  6.4
Classes | Macros | Functions
batchprog.h File Reference
Include dependency graph for batchprog.h:

Go to the source code of this file.

Classes

class  BatchProgram
 Main object for 'standard' batch programs. More...
 

Macros

#define mRetJobErr(s)
 
#define mRetError(s)   { errorMsg(toUiString(s)); mDestroyWorkers; return false; }
 
#define mRetHostErr(s)
 
#define mStrmWithProcID(s)   strm << "\n[" << process_id << "]: " << s << "." << od_newline
 
#define mMessage(s)   strm << s << '.' << od_newline
 
#define mSetCommState(State)
 

Functions

int Execute_batch (int *, char **)
 
BatchProgramBP ()
 

Macro Definition Documentation

#define mMessage (   s)    strm << s << '.' << od_newline
#define mRetError (   s)    { errorMsg(toUiString(s)); mDestroyWorkers; return false; }
#define mRetHostErr (   s)
Value:
{ \
if ( comm_ ) comm_->setState( JobCommunic::HostError ); \
mRetError(s) \
}
Multi-machine socket communicator Handles the communication between a client and the master...
Definition: jobcommunic.h:51
#define mRetError(s)
Definition: batchprog.h:130
#define mRetJobErr (   s)
Value:
{ \
if ( comm_ ) comm_->setState( JobCommunic::JobError ); \
mRetError(s) \
}
Multi-machine socket communicator Handles the communication between a client and the master...
Definition: jobcommunic.h:51
#define mRetError(s)
Definition: batchprog.h:130
#define mSetCommState (   State)
Value:
if ( comm_ ) \
{ \
comm_->setState( JobCommunic::State ); \
if ( !comm_->updateState() ) \
mRetHostErr( comm_->errMsg() ) \
}
#define mRetHostErr(s)
Definition: batchprog.h:133
State
Definition: jobcommunic.h:54
#define mStrmWithProcID (   s)    strm << "\n[" << process_id << "]: " << s << "." << od_newline

Function Documentation

BatchProgram& BP ( )
int Execute_batch ( int *  ,
char **   
)

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