// @(#)root/net:$Id$
// Author: Jan Fiete Grosse-Oetringhaus   06/10/2004

/*************************************************************************
 * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TGridJobStatus
#define ROOT_TGridJobStatus

//////////////////////////////////////////////////////////////////////////
//                                                                      //
// TGridJobStatus                                                       //
//                                                                      //
// Abstract base class containing the status of a Grid job.             //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TNamed
#include "TNamed.h"
#endif


class TGridJobStatus : public TNamed {

public:
   // Subset of Grid job states for common GetStatus function
   enum EGridJobStatus { kUNKNOWN, kWAITING, kRUNNING, kABORTED, kFAIL, kDONE };

  TGridJobStatus() { }
  virtual ~TGridJobStatus() { }

  // These functions reduces the possible job states to the subset given above
  // in EGridJobStatus, for detailed status information query the specific
  // implementation
  virtual EGridJobStatus GetStatus() const = 0;

  ClassDef(TGridJobStatus,1)  // ABC defining status of a Grid job
};

#endif
 TGridJobStatus.h:1
 TGridJobStatus.h:2
 TGridJobStatus.h:3
 TGridJobStatus.h:4
 TGridJobStatus.h:5
 TGridJobStatus.h:6
 TGridJobStatus.h:7
 TGridJobStatus.h:8
 TGridJobStatus.h:9
 TGridJobStatus.h:10
 TGridJobStatus.h:11
 TGridJobStatus.h:12
 TGridJobStatus.h:13
 TGridJobStatus.h:14
 TGridJobStatus.h:15
 TGridJobStatus.h:16
 TGridJobStatus.h:17
 TGridJobStatus.h:18
 TGridJobStatus.h:19
 TGridJobStatus.h:20
 TGridJobStatus.h:21
 TGridJobStatus.h:22
 TGridJobStatus.h:23
 TGridJobStatus.h:24
 TGridJobStatus.h:25
 TGridJobStatus.h:26
 TGridJobStatus.h:27
 TGridJobStatus.h:28
 TGridJobStatus.h:29
 TGridJobStatus.h:30
 TGridJobStatus.h:31
 TGridJobStatus.h:32
 TGridJobStatus.h:33
 TGridJobStatus.h:34
 TGridJobStatus.h:35
 TGridJobStatus.h:36
 TGridJobStatus.h:37
 TGridJobStatus.h:38
 TGridJobStatus.h:39
 TGridJobStatus.h:40
 TGridJobStatus.h:41
 TGridJobStatus.h:42
 TGridJobStatus.h:43
 TGridJobStatus.h:44
 TGridJobStatus.h:45