#ifndef ROOT_TVirtualProofPlayer
#define ROOT_TVirtualProofPlayer
#ifndef ROOT_TObject
#include "TObject.h"
#endif
#ifndef ROOT_TQObject
#include "TQObject.h"
#endif
class TDSet;
class TDSetElement;
class TEventList;
class TQueryResult;
class TDrawFeedback;
class TList;
class TSlave;
class TMessage;
class TProof;
class TSocket;
class TVirtualPacketizer;
class TProofProgressStatus;
class TVirtualProofPlayer : public TObject, public TQObject {
public:
enum EExitStatus { kFinished, kStopped, kAborted };
TVirtualProofPlayer() { }
virtual ~TVirtualProofPlayer() { }
virtual Long64_t Process(TDSet *set,
const char *selector, Option_t *option = "",
Long64_t nentries = -1, Long64_t firstentry = 0) = 0;
virtual Long64_t Finalize(Bool_t force = kFALSE, Bool_t sync = kFALSE) = 0;
virtual Long64_t Finalize(TQueryResult *qr) = 0;
virtual Long64_t DrawSelect(TDSet *set, const char *varexp,
const char *selection, Option_t *option = "",
Long64_t nentries = -1, Long64_t firstentry = 0) = 0;
virtual Int_t GetDrawArgs(const char *var, const char *sel, Option_t *opt,
TString &selector, TString &objname) = 0;
virtual void HandleGetTreeHeader(TMessage *mess) = 0;
virtual void HandleRecvHisto(TMessage *mess) = 0;
virtual void StopProcess(Bool_t abort, Int_t timeout = -1) = 0;
virtual void AddInput(TObject *inp) = 0;
virtual void ClearInput() = 0;
virtual TObject *GetOutput(const char *name) const = 0;
virtual TList *GetOutputList() const = 0;
virtual TList *GetInputList() const = 0;
virtual TList *GetListOfResults() const = 0;
virtual void AddQueryResult(TQueryResult *q) = 0;
virtual TQueryResult *GetCurrentQuery() const = 0;
virtual TQueryResult *GetQueryResult(const char *ref) = 0;
virtual void RemoveQueryResult(const char *ref) = 0;
virtual void SetCurrentQuery(TQueryResult *q) = 0;
virtual void SetMaxDrawQueries(Int_t max) = 0;
virtual void RestorePreviousQuery() =0 ;
virtual Int_t AddOutputObject(TObject *obj) = 0;
virtual void AddOutput(TList *out) = 0;
virtual void StoreOutput(TList *out) = 0;
virtual void StoreFeedback(TObject *slave, TList *out) = 0;
virtual void Progress(Long64_t total, Long64_t processed) = 0;
virtual void Progress(TSlave *, Long64_t total, Long64_t processed) = 0;
virtual void Progress(Long64_t total, Long64_t processed, Long64_t bytesread,
Float_t initTime, Float_t procTime,
Float_t evtrti, Float_t mbrti) = 0;
virtual void Progress(TSlave *, Long64_t total, Long64_t processed,
Long64_t bytesread, Float_t initTime, Float_t procTime,
Float_t evtrti, Float_t mbrti) = 0;
virtual void Feedback(TList *objs) = 0;
virtual TDrawFeedback *CreateDrawFeedback(TProof *p) = 0;
virtual void SetDrawFeedbackOption(TDrawFeedback *f, Option_t *opt) = 0;
virtual void DeleteDrawFeedback(TDrawFeedback *f) = 0;
virtual TDSetElement *GetNextPacket(TSlave *slave, TMessage *r) = 0;
virtual Int_t ReinitSelector(TQueryResult *qr) = 0;
virtual void UpdateAutoBin(const char *name,
Double_t& xmin, Double_t& xmax,
Double_t& ymin, Double_t& ymax,
Double_t& zmin, Double_t& zmax) = 0;
virtual Bool_t IsClient() const = 0;
virtual EExitStatus GetExitStatus() const = 0;
virtual Long64_t GetEventsProcessed() const = 0;
virtual void AddEventsProcessed(Long64_t ev) = 0;
virtual TProofProgressStatus* GetProgressStatus() const = 0;
virtual void SetDispatchTimer(Bool_t on = kTRUE) = 0;
virtual void SetStopTimer(Bool_t on = kTRUE,
Bool_t abort = kFALSE, Int_t timeout = 0) = 0;
virtual void SetInitTime() = 0;
virtual TVirtualPacketizer *GetPacketizer() const { return 0; }
static TVirtualProofPlayer *Create(const char *player, TProof *p, TSocket *s = 0);
ClassDef(TVirtualProofPlayer,0)
};
#endif
TVirtualProofPlayer.h:100 TVirtualProofPlayer.h:101 TVirtualProofPlayer.h:102 TVirtualProofPlayer.h:103 TVirtualProofPlayer.h:104 TVirtualProofPlayer.h:105 TVirtualProofPlayer.h:106 TVirtualProofPlayer.h:107 TVirtualProofPlayer.h:108 TVirtualProofPlayer.h:109 TVirtualProofPlayer.h:110 TVirtualProofPlayer.h:111 TVirtualProofPlayer.h:112 TVirtualProofPlayer.h:113 TVirtualProofPlayer.h:114 TVirtualProofPlayer.h:115 TVirtualProofPlayer.h:116 TVirtualProofPlayer.h:117 TVirtualProofPlayer.h:118 TVirtualProofPlayer.h:119 TVirtualProofPlayer.h:120 TVirtualProofPlayer.h:121 TVirtualProofPlayer.h:122 TVirtualProofPlayer.h:123 TVirtualProofPlayer.h:124 TVirtualProofPlayer.h:125 TVirtualProofPlayer.h:126