OpendTect  6.3
mmcommunicdefs.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: A.H. Lammertink
8  Date: Dec 2002
9 ________________________________________________________________________
10 
11 Defines for MM job communication status tags and codes
12 
13 */
14 
15 
16 #define mPID_TAG 'P'
17 #define mPROC_STATUS 'S'
18 #define mCTRL_STATUS 'C'
19 #define mEXIT_STATUS 'E'
20 #define mERROR_MSG 'e'
21 
22 
23 // Control status values
24 #define mSTAT_UNDEF 0
25 #define mSTAT_WORKING 1
26 #define mSTAT_WRAPUP 2
27 #define mSTAT_FINISHED 3
28 #define mSTAT_ALLDONE 4
29 #define mSTAT_PAUSED 5
30 #define mSTAT_JOBERROR -1
31 #define mSTAT_HSTERROR -2
32 #define mSTAT_KILLED -3
33 #define mSTAT_TIMEOUT -4
34 
35 #define mIsOk( stat ) ( stat >= 0 && stat <= mSTAT_PAUSED )
36 #define mIsError( stat ) ( stat < 0 || stat > mSTAT_PAUSED )
37 
38 
39 // Master Control tag
40 #define mRSP_WORK 'W'
41 #define mRSP_STOP 'S'
42 #define mRSP_PAUSE 'P'

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