TProofPlayerLite.h

Go to the documentation of this file.
00001 // @(#)root/proofplayer:$Id: TProofPlayerLite.h 25918 2008-10-22 15:00:04Z ganis $
00002 // Author: G. Ganis Mar 2008
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2001, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 #ifndef ROOT_TProofPlayerLite
00013 #define ROOT_TProofPlayerLite
00014 
00015 
00016 //////////////////////////////////////////////////////////////////////////
00017 //                                                                      //
00018 // TProofPlayerLite                                                     //
00019 //                                                                      //
00020 // This version of TProofPlayerRemote merges the functionality needed   //
00021 // by clients and masters. It is used in optmized local sessions.       //
00022 //                                                                      //
00023 //////////////////////////////////////////////////////////////////////////
00024 
00025 #ifndef ROOT_TProofPlayer
00026 #include "TProofPlayer.h"
00027 #endif
00028 
00029 
00030 class TProofPlayerLite : public TProofPlayerRemote {
00031 
00032 protected:
00033    Bool_t  HandleTimer(TTimer *timer);
00034 
00035    Int_t   MakeSelector(const char *selfile);
00036    void    SetupFeedback();
00037 
00038 public:
00039    TProofPlayerLite(TProof *proof = 0) : TProofPlayerRemote(proof) { }
00040 
00041    virtual ~TProofPlayerLite() { }   // Owns the fOutput list
00042 
00043    Long64_t       Process(TDSet *set, const char *selector,
00044                           Option_t *option = "", Long64_t nentries = -1,
00045                           Long64_t firstentry = 0);
00046    Long64_t       Finalize(Bool_t force = kFALSE, Bool_t sync = kFALSE);
00047    Long64_t       Finalize(TQueryResult *qr)
00048                             { return TProofPlayerRemote::Finalize(qr); }
00049 
00050    void           StoreFeedback(TObject *slave, TList *out); // Adopts the list
00051 
00052    ClassDef(TProofPlayerLite,0)  // PROOF player running in PROOF-Lite
00053 };
00054 
00055 #endif

Generated on Tue Jul 5 14:28:03 2011 for ROOT_528-00b_version by  doxygen 1.5.1