Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-24 09:25:28

0001 // @(#)root/net:$Id$
0002 // Author: Jan Fiete Grosse-Oetringhaus  06/10/2004
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TGridJob
0013 #define ROOT_TGridJob
0014 
0015 //////////////////////////////////////////////////////////////////////////
0016 //                                                                      //
0017 // TGridJob                                                             //
0018 //                                                                      //
0019 // Abstract base class defining interface to a GRID job.                //
0020 //                                                                      //
0021 // Related classes are TGridJobStatus.                                  //
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;  // the job's ID
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)  // ABC defining interface to a GRID job
0049 };
0050 
0051 } // namespace ROOT::Deprecated
0052 
0053 using TGridJob R__DEPRECATED(6, 42, "TGridJob is expected to be unused and thus deprecated") =
0054    ROOT::Deprecated::TGridJob;
0055 
0056 #endif