ROOT
master
Reference Guide
Loading...
Searching...
No Matches
TGridJobStatus.h
Go to the documentation of this file.
1
// @(#)root/net:$Id$
2
// Author: Jan Fiete Grosse-Oetringhaus 06/10/2004
3
4
/*************************************************************************
5
* Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef ROOT_TGridJobStatus
13
#define ROOT_TGridJobStatus
14
15
//////////////////////////////////////////////////////////////////////////
16
// //
17
// TGridJobStatus //
18
// //
19
// Abstract base class containing the status of a Grid job. //
20
// //
21
//////////////////////////////////////////////////////////////////////////
22
23
#include "
TNamed.h
"
24
25
26
class
TGridJobStatus
:
public
TNamed
{
27
28
public
:
29
// Subset of Grid job states for common GetStatus function
30
enum
EGridJobStatus
{
31
// clang++ <v20 (-Wshadow) complains about shadowing TQpSolverBase.h global enum ETerminationCode. Let's silence warning:
32
#if defined(__clang__) && __clang_major__ < 20
33
#pragma clang diagnostic push
34
#pragma clang diagnostic ignored "-Wshadow"
35
#endif
36
kUNKNOWN
,
37
#if defined(__clang__) && __clang_major__ < 20
38
#pragma clang diagnostic pop
39
#endif
40
kWAITING
,
kRUNNING
,
kABORTED
,
kFAIL
,
kDONE
};
41
42
TGridJobStatus
() { }
43
virtual
~TGridJobStatus
() { }
44
45
// These functions reduces the possible job states to the subset given above
46
// in EGridJobStatus, for detailed status information query the specific
47
// implementation
48
virtual
EGridJobStatus
GetStatus
()
const
= 0;
49
50
ClassDefOverride
(
TGridJobStatus
,1)
// ABC defining status of a Grid job
51
};
52
53
#endif
ClassDefOverride
#define ClassDefOverride(name, id)
Definition
Rtypes.h:348
TNamed.h
TGridJobStatus
Definition
TGridJobStatus.h:26
TGridJobStatus::TGridJobStatus
TGridJobStatus()
Definition
TGridJobStatus.h:42
TGridJobStatus::EGridJobStatus
EGridJobStatus
Definition
TGridJobStatus.h:30
TGridJobStatus::kWAITING
@ kWAITING
Definition
TGridJobStatus.h:40
TGridJobStatus::kRUNNING
@ kRUNNING
Definition
TGridJobStatus.h:40
TGridJobStatus::kDONE
@ kDONE
Definition
TGridJobStatus.h:40
TGridJobStatus::kFAIL
@ kFAIL
Definition
TGridJobStatus.h:40
TGridJobStatus::kUNKNOWN
@ kUNKNOWN
Definition
TGridJobStatus.h:36
TGridJobStatus::kABORTED
@ kABORTED
Definition
TGridJobStatus.h:40
TGridJobStatus::~TGridJobStatus
virtual ~TGridJobStatus()
Definition
TGridJobStatus.h:43
TGridJobStatus::GetStatus
virtual EGridJobStatus GetStatus() const =0
TNamed
The TNamed class is the base class for all named ROOT classes.
Definition
TNamed.h:29
net
net
inc
TGridJobStatus.h
ROOTmaster - Reference Guide Generated on Wed Feb 25 2026 03:27:07 (GVA Time) using Doxygen 1.10.0