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