// @(#)root/net:$Id: TGridJob.h 23091 2008-04-09 15:04:27Z rdm $ // Author: Jan Fiete Grosse-Oetringhaus 06/10/2004 /************************************************************************* * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. * * All rights reserved. * * * * For the licensing terms see $ROOTSYS/LICENSE. * * For the list of contributors see $ROOTSYS/README/CREDITS. * *************************************************************************/ #ifndef ROOT_TGridJob #define ROOT_TGridJob ////////////////////////////////////////////////////////////////////////// // // // TGridJob // // // // Abstract base class defining interface to a GRID job. // // // // Related classes are TGridJobStatus. // // // ////////////////////////////////////////////////////////////////////////// #ifndef ROOT_TObject #include "TObject.h" #endif #ifndef ROOT_TString #include "TString.h" #endif class TGridJobStatus; class TGridJob : public TObject { protected: TString fJobID; // the job's ID public: TGridJob(TString jobID) : fJobID(jobID) { } virtual ~TGridJob() { } virtual TString GetJobID() { return fJobID; } virtual TGridJobStatus *GetJobStatus() const = 0; virtual Int_t GetOutputSandbox(const char *localpath, Option_t *opt = 0); virtual Bool_t Resubmit() = 0; virtual Bool_t Cancel () = 0; ClassDef(TGridJob,1) // ABC defining interface to a GRID job }; #endif