ROOT
6.08/07
Reference Guide
net
net
inc
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
#ifndef ROOT_TNamed
24
#include "
TNamed.h
"
25
#endif
26
27
28
class
TGridJobStatus
:
public
TNamed
{
29
30
public
:
31
// Subset of Grid job states for common GetStatus function
32
enum
EGridJobStatus
{
kUNKNOWN
,
kWAITING
,
kRUNNING
,
kABORTED
,
kFAIL
,
kDONE
};
33
34
TGridJobStatus
() { }
35
virtual
~TGridJobStatus
() { }
36
37
// These functions reduces the possible job states to the subset given above
38
// in EGridJobStatus, for detailed status information query the specific
39
// implementation
40
virtual
EGridJobStatus
GetStatus
()
const
= 0;
41
42
ClassDef
(
TGridJobStatus
,1)
// ABC defining status of a Grid job
43
};
44
45
#endif
TGridJobStatus::GetStatus
virtual EGridJobStatus GetStatus() const =0
TGridJobStatus::kWAITING
Definition:
TGridJobStatus.h:32
TGridJobStatus::TGridJobStatus
TGridJobStatus()
Definition:
TGridJobStatus.h:34
TGridJobStatus::kRUNNING
Definition:
TGridJobStatus.h:32
TNamed.h
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:254
TNamed
The TNamed class is the base class for all named ROOT classes.
Definition:
TNamed.h:33
TGridJobStatus::kABORTED
Definition:
TGridJobStatus.h:32
TGridJobStatus::EGridJobStatus
EGridJobStatus
Definition:
TGridJobStatus.h:32
TGridJobStatus::kFAIL
Definition:
TGridJobStatus.h:32
TGridJobStatus::kUNKNOWN
Definition:
TGridJobStatus.h:32
TGridJobStatus
Definition:
TGridJobStatus.h:28
TGridJobStatus::kDONE
Definition:
TGridJobStatus.h:32
TGridJobStatus::~TGridJobStatus
virtual ~TGridJobStatus()
Definition:
TGridJobStatus.h:35