ROOT
6.12/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
#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
TGridJobStatus::GetStatus
virtual EGridJobStatus GetStatus() const =0
TGridJobStatus::kWAITING
Definition:
TGridJobStatus.h:30
TGridJobStatus::TGridJobStatus
TGridJobStatus()
Definition:
TGridJobStatus.h:32
TGridJobStatus::kRUNNING
Definition:
TGridJobStatus.h:30
TNamed.h
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:320
TNamed
The TNamed class is the base class for all named ROOT classes.
Definition:
TNamed.h:29
TGridJobStatus::kABORTED
Definition:
TGridJobStatus.h:30
TGridJobStatus::EGridJobStatus
EGridJobStatus
Definition:
TGridJobStatus.h:30
TGridJobStatus::kFAIL
Definition:
TGridJobStatus.h:30
TGridJobStatus::kUNKNOWN
Definition:
TGridJobStatus.h:30
TGridJobStatus
Definition:
TGridJobStatus.h:26
TGridJobStatus::kDONE
Definition:
TGridJobStatus.h:30
TGridJobStatus::~TGridJobStatus
virtual ~TGridJobStatus()
Definition:
TGridJobStatus.h:33