Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:12:05

0001 // @(#)root/net:$Id$
0002 // Author: Jan Fiete Grosse-Oetringhaus   06/10/2004
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TGridJobStatus
0013 #define ROOT_TGridJobStatus
0014 
0015 //////////////////////////////////////////////////////////////////////////
0016 //                                                                      //
0017 // TGridJobStatus                                                       //
0018 //                                                                      //
0019 // Abstract base class containing the status of a Grid job.             //
0020 //                                                                      //
0021 //////////////////////////////////////////////////////////////////////////
0022 
0023 #include "TNamed.h"
0024 
0025 
0026 class TGridJobStatus : public TNamed {
0027 
0028 public:
0029    // Subset of Grid job states for common GetStatus function
0030    enum EGridJobStatus { kUNKNOWN, kWAITING, kRUNNING, kABORTED, kFAIL, kDONE };
0031 
0032   TGridJobStatus() { }
0033   virtual ~TGridJobStatus() { }
0034 
0035   // These functions reduces the possible job states to the subset given above
0036   // in EGridJobStatus, for detailed status information query the specific
0037   // implementation
0038   virtual EGridJobStatus GetStatus() const = 0;
0039 
0040   ClassDefOverride(TGridJobStatus,1)  // ABC defining status of a Grid job
0041 };
0042 
0043 #endif