ROOT logo
// @(#)root/proofplayer:$Id$
// Author: G. Ganis Mar 2008

/*************************************************************************
 * Copyright (C) 1995-2001, 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_TProofPlayerLite
#define ROOT_TProofPlayerLite


//////////////////////////////////////////////////////////////////////////
//                                                                      //
// TProofPlayerLite                                                     //
//                                                                      //
// This version of TProofPlayerRemote merges the functionality needed   //
// by clients and masters. It is used in optmized local sessions.       //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TProofPlayer
#include "TProofPlayer.h"
#endif


class TProofPlayerLite : public TProofPlayerRemote {

protected:
   Bool_t  HandleTimer(TTimer *timer);

   Int_t   MakeSelector(const char *selfile);
   void    SetupFeedback();

public:
   TProofPlayerLite(TProof *proof = 0) : TProofPlayerRemote(proof) { }

   virtual ~TProofPlayerLite() { }   // Owns the fOutput list

   Long64_t       Process(TDSet *set, const char *selector,
                          Option_t *option = "", Long64_t nentries = -1,
                          Long64_t firstentry = 0);
   Long64_t       Process(TDSet *set, TSelector *selector,
                          Option_t *option = "", Long64_t nentries = -1,
                          Long64_t firstentry = 0);
   Long64_t       Finalize(Bool_t force = kFALSE, Bool_t sync = kFALSE);
   Long64_t       Finalize(TQueryResult *qr)
                            { return TProofPlayerRemote::Finalize(qr); }

   void           StoreFeedback(TObject *slave, TList *out); // Adopts the list

   ClassDef(TProofPlayerLite,0)  // PROOF player running in PROOF-Lite
};

#endif
 TProofPlayerLite.h:1
 TProofPlayerLite.h:2
 TProofPlayerLite.h:3
 TProofPlayerLite.h:4
 TProofPlayerLite.h:5
 TProofPlayerLite.h:6
 TProofPlayerLite.h:7
 TProofPlayerLite.h:8
 TProofPlayerLite.h:9
 TProofPlayerLite.h:10
 TProofPlayerLite.h:11
 TProofPlayerLite.h:12
 TProofPlayerLite.h:13
 TProofPlayerLite.h:14
 TProofPlayerLite.h:15
 TProofPlayerLite.h:16
 TProofPlayerLite.h:17
 TProofPlayerLite.h:18
 TProofPlayerLite.h:19
 TProofPlayerLite.h:20
 TProofPlayerLite.h:21
 TProofPlayerLite.h:22
 TProofPlayerLite.h:23
 TProofPlayerLite.h:24
 TProofPlayerLite.h:25
 TProofPlayerLite.h:26
 TProofPlayerLite.h:27
 TProofPlayerLite.h:28
 TProofPlayerLite.h:29
 TProofPlayerLite.h:30
 TProofPlayerLite.h:31
 TProofPlayerLite.h:32
 TProofPlayerLite.h:33
 TProofPlayerLite.h:34
 TProofPlayerLite.h:35
 TProofPlayerLite.h:36
 TProofPlayerLite.h:37
 TProofPlayerLite.h:38
 TProofPlayerLite.h:39
 TProofPlayerLite.h:40
 TProofPlayerLite.h:41
 TProofPlayerLite.h:42
 TProofPlayerLite.h:43
 TProofPlayerLite.h:44
 TProofPlayerLite.h:45
 TProofPlayerLite.h:46
 TProofPlayerLite.h:47
 TProofPlayerLite.h:48
 TProofPlayerLite.h:49
 TProofPlayerLite.h:50
 TProofPlayerLite.h:51
 TProofPlayerLite.h:52
 TProofPlayerLite.h:53
 TProofPlayerLite.h:54
 TProofPlayerLite.h:55
 TProofPlayerLite.h:56
 TProofPlayerLite.h:57
 TProofPlayerLite.h:58