Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TGridJob.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_TGridJob
13#define ROOT_TGridJob
14
15//////////////////////////////////////////////////////////////////////////
16// //
17// TGridJob //
18// //
19// Abstract base class defining interface to a GRID job. //
20// //
21// Related classes are TGridJobStatus. //
22// //
23//////////////////////////////////////////////////////////////////////////
24
25#include "TObject.h"
26#include "TString.h"
27
28namespace ROOT::Deprecated {
29
30class TGridJobStatus;
31
32class TGridJob : public TObject {
33
34protected:
35 TString fJobID; // the job's ID
36
37public:
39 virtual ~TGridJob() { }
40
41 virtual TString GetJobID() { return fJobID; }
42
43 virtual TGridJobStatus *GetJobStatus() const = 0;
44 virtual Int_t GetOutputSandbox(const char *localpath, Option_t *opt = nullptr);
45
46 virtual Bool_t Resubmit() = 0;
47 virtual Bool_t Cancel () = 0;
48 ClassDefOverride(TGridJob,1) // ABC defining interface to a GRID job
49};
50
51} // namespace ROOT::Deprecated
52
53using TGridJob R__DEPRECATED(6, 42, "TGridJob is expected to be unused and thus deprecated") =
55
56#endif
#define R__DEPRECATED(MAJOR, MINOR, REASON)
Definition RConfig.hxx:510
const char Option_t
Option string (const char)
Definition RtypesCore.h:80
#define ClassDefOverride(name, id)
Definition Rtypes.h:348
virtual Int_t GetOutputSandbox(const char *localpath, Option_t *opt=nullptr)
Must be implemented by actual GRID job implementation.
Definition TGridJob.cxx:30
virtual Bool_t Cancel()=0
TGridJob(TString jobID)
Definition TGridJob.h:38
virtual Bool_t Resubmit()=0
virtual TString GetJobID()
Definition TGridJob.h:41
virtual TGridJobStatus * GetJobStatus() const =0
Mother of all ROOT objects.
Definition TObject.h:42
Basic string class.
Definition TString.h:138