File indexing completed on 2026-09-24 09:25:28
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TGridJob
0013 #define ROOT_TGridJob
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025 #include "TObject.h"
0026 #include "TString.h"
0027
0028 namespace ROOT::Deprecated {
0029
0030 class TGridJobStatus;
0031
0032 class TGridJob : public TObject {
0033
0034 protected:
0035 TString fJobID;
0036
0037 public:
0038 TGridJob(TString jobID) : fJobID(jobID) { }
0039 virtual ~TGridJob() { }
0040
0041 virtual TString GetJobID() { return fJobID; }
0042
0043 virtual TGridJobStatus *GetJobStatus() const = 0;
0044 virtual Int_t GetOutputSandbox(const char *localpath, Option_t *opt = nullptr);
0045
0046 virtual Bool_t Resubmit() = 0;
0047 virtual Bool_t Cancel () = 0;
0048 ClassDefOverride(TGridJob,1)
0049 };
0050
0051 }
0052
0053 using TGridJob R__DEPRECATED(6, 42, "TGridJob is expected to be unused and thus deprecated") =
0054 ROOT::Deprecated::TGridJob;
0055
0056 #endif