TGridJobStatus.h

Go to the documentation of this file.
00001 // @(#)root/net:$Id: TGridJobStatus.h 23091 2008-04-09 15:04:27Z rdm $
00002 // Author: Jan Fiete Grosse-Oetringhaus   06/10/2004
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 #ifndef ROOT_TGridJobStatus
00013 #define ROOT_TGridJobStatus
00014 
00015 //////////////////////////////////////////////////////////////////////////
00016 //                                                                      //
00017 // TGridJobStatus                                                       //
00018 //                                                                      //
00019 // Abstract base class containing the status of a Grid job.             //
00020 //                                                                      //
00021 //////////////////////////////////////////////////////////////////////////
00022 
00023 #ifndef ROOT_TNamed
00024 #include "TNamed.h"
00025 #endif
00026 
00027 
00028 class TGridJobStatus : public TNamed {
00029 
00030 public:
00031    // Subset of Grid job states for common GetStatus function
00032    enum EGridJobStatus { kUNKNOWN, kWAITING, kRUNNING, kABORTED, kFAIL, kDONE };
00033 
00034   TGridJobStatus() { }
00035   virtual ~TGridJobStatus() { }
00036 
00037   // These functions reduces the possible job states to the subset given above
00038   // in EGridJobStatus, for detailed status information query the specific
00039   // implementation
00040   virtual EGridJobStatus GetStatus() const = 0;
00041 
00042   ClassDef(TGridJobStatus,1)  // ABC defining status of a Grid job
00043 };
00044 
00045 #endif

Generated on Tue Jul 5 14:26:57 2011 for ROOT_528-00b_version by  doxygen 1.5.1