Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
26class TGridJobStatus : public TNamed {
27
28public:
29 // Subset of Grid job states for common GetStatus function
31// clang++ <v20 (-Wshadow) complains about shadowing TQpSolverBase.h global enum ETerminationCode. Let's silence warning:
32#if defined(__clang__) && __clang_major__ < 20
33#pragma clang diagnostic push
34#pragma clang diagnostic ignored "-Wshadow"
35#endif
37#if defined(__clang__) && __clang_major__ < 20
38#pragma clang diagnostic pop
39#endif
41
43 virtual ~TGridJobStatus() { }
44
45 // These functions reduces the possible job states to the subset given above
46 // in EGridJobStatus, for detailed status information query the specific
47 // implementation
48 virtual EGridJobStatus GetStatus() const = 0;
49
50 ClassDefOverride(TGridJobStatus,1) // ABC defining status of a Grid job
51};
52
53#endif
#define ClassDefOverride(name, id)
Definition Rtypes.h:348
virtual ~TGridJobStatus()
virtual EGridJobStatus GetStatus() const =0
The TNamed class is the base class for all named ROOT classes.
Definition TNamed.h:29