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
25namespace ROOT::Deprecated {
26
27class TGridJobStatus : public TNamed {
28
29public:
30 // Subset of Grid job states for common GetStatus function
32// clang++ <v20 (-Wshadow) complains about shadowing TQpSolverBase.h global enum ETerminationCode. Let's silence warning:
33#if defined(__clang__) && __clang_major__ < 20
34#pragma clang diagnostic push
35#pragma clang diagnostic ignored "-Wshadow"
36#endif
38#if defined(__clang__) && __clang_major__ < 20
39#pragma clang diagnostic pop
40#endif
42
44 virtual ~TGridJobStatus() { }
45
46 // These functions reduces the possible job states to the subset given above
47 // in EGridJobStatus, for detailed status information query the specific
48 // implementation
49 virtual EGridJobStatus GetStatus() const = 0;
50
51 ClassDefOverride(TGridJobStatus,1) // ABC defining status of a Grid job
52};
53
54} // namespace ROOT::Deprecated
55
56using TGridJobStatus R__DEPRECATED(6, 42, "TGridJobStatus is expected to be unused and thus deprecated") =
58
59#endif
#define R__DEPRECATED(MAJOR, MINOR, REASON)
Definition RConfig.hxx:510
#define ClassDefOverride(name, id)
Definition Rtypes.h:348
virtual EGridJobStatus GetStatus() const =0
The TNamed class is the base class for all named ROOT classes.
Definition TNamed.h:29