ROOT
v6-26
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
{
kUNKNOWN
,
kWAITING
,
kRUNNING
,
kABORTED
,
kFAIL
,
kDONE
};
31
32
TGridJobStatus
() { }
33
virtual
~TGridJobStatus
() { }
34
35
// These functions reduces the possible job states to the subset given above
36
// in EGridJobStatus, for detailed status information query the specific
37
// implementation
38
virtual
EGridJobStatus
GetStatus
()
const
= 0;
39
40
ClassDef
(
TGridJobStatus
,1)
// ABC defining status of a Grid job
41
};
42
43
#endif
ClassDef
#define ClassDef(name, id)
Definition
Rtypes.h:325
TNamed.h
TGridJobStatus
Definition
TGridJobStatus.h:26
TGridJobStatus::TGridJobStatus
TGridJobStatus()
Definition
TGridJobStatus.h:32
TGridJobStatus::EGridJobStatus
EGridJobStatus
Definition
TGridJobStatus.h:30
TGridJobStatus::kWAITING
@ kWAITING
Definition
TGridJobStatus.h:30
TGridJobStatus::kRUNNING
@ kRUNNING
Definition
TGridJobStatus.h:30
TGridJobStatus::kDONE
@ kDONE
Definition
TGridJobStatus.h:30
TGridJobStatus::kFAIL
@ kFAIL
Definition
TGridJobStatus.h:30
TGridJobStatus::kUNKNOWN
@ kUNKNOWN
Definition
TGridJobStatus.h:30
TGridJobStatus::kABORTED
@ kABORTED
Definition
TGridJobStatus.h:30
TGridJobStatus::~TGridJobStatus
virtual ~TGridJobStatus()
Definition
TGridJobStatus.h:33
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
ROOT v6-26 - Reference Guide Generated on Mon Sep 11 2023 21:02:44 (GVA Time) using Doxygen 1.9.8