Logo ROOT  
Reference Guide
TProofPlayerLite.h
Go to the documentation of this file.
1 // @(#)root/proofplayer:$Id$
2 // Author: G. Ganis Mar 2008
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2001, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TProofPlayerLite
13 #define ROOT_TProofPlayerLite
14 
15 
16 //////////////////////////////////////////////////////////////////////////
17 // //
18 // TProofPlayerLite //
19 // //
20 // This version of TProofPlayerRemote merges the functionality needed //
21 // by clients and masters. It is used in optmized local sessions. //
22 // //
23 //////////////////////////////////////////////////////////////////////////
24 
25 #include "TProofPlayer.h"
26 
27 
29 
30 protected:
31  Bool_t HandleTimer(TTimer *timer);
32 
33  Int_t MakeSelector(const char *selfile);
34  void SetupFeedback();
35 
36 public:
37  TProofPlayerLite(TProof *proof = 0) : TProofPlayerRemote(proof) { }
38 
39  virtual ~TProofPlayerLite() { } // Owns the fOutput list
40 
41  Long64_t Process(TDSet *set, const char *selector,
42  Option_t *option = "", Long64_t nentries = -1,
43  Long64_t firstentry = 0);
44  Long64_t Process(TDSet *set, TSelector *selector,
45  Option_t *option = "", Long64_t nentries = -1,
46  Long64_t firstentry = 0);
47  Long64_t Finalize(Bool_t force = kFALSE, Bool_t sync = kFALSE);
49  { return TProofPlayerRemote::Finalize(qr); }
50 
51  void StoreFeedback(TObject *slave, TList *out); // Adopts the list
52 
53  ClassDef(TProofPlayerLite,0) // PROOF player running in PROOF-Lite
54 };
55 
56 #endif
TProofPlayerLite::StoreFeedback
void StoreFeedback(TObject *slave, TList *out)
Store feedback results from the specified slave.
Definition: TProofPlayerLite.cxx:511
TProofPlayerLite::HandleTimer
Bool_t HandleTimer(TTimer *timer)
Send feedback objects to client.
Definition: TProofPlayerLite.cxx:442
TSelector
Definition: TSelector.h:31
Long64_t
long long Long64_t
Definition: RtypesCore.h:73
TProofPlayerLite::TProofPlayerLite
TProofPlayerLite(TProof *proof=0)
Definition: TProofPlayerLite.h:43
nentries
int nentries
Definition: THbookFile.cxx:91
TQueryResult
Definition: TQueryResult.h:41
TProofPlayerLite
Definition: TProofPlayerLite.h:28
bool
TTimer
Definition: TTimer.h:51
Option_t
const typedef char Option_t
Definition: RtypesCore.h:66
TProofPlayerLite::~TProofPlayerLite
virtual ~TProofPlayerLite()
Definition: TProofPlayerLite.h:45
TProofPlayerRemote::TProofPlayerRemote
TProofPlayerRemote(TProof *proof=0)
Definition: TProofPlayer.h:313
kFALSE
const Bool_t kFALSE
Definition: RtypesCore.h:92
TProofPlayerLite::SetupFeedback
void SetupFeedback()
Setup reporting of feedback objects.
Definition: TProofPlayerLite.cxx:485
TProofPlayerLite::Process
Long64_t Process(TDSet *set, const char *selector, Option_t *option="", Long64_t nentries=-1, Long64_t firstentry=0)
Process specified TDSet on PROOF.
Definition: TProofPlayerLite.cxx:109
TProofPlayerRemote
Definition: TProofPlayer.h:279
TProofPlayerRemote::Finalize
virtual Long64_t Finalize(Bool_t force=kFALSE, Bool_t sync=kFALSE)
Finalize query (may not be used in this class).
Definition: TProofPlayer.cxx:2781
TDSet
Definition: TDSet.h:153
TProofPlayerLite::Finalize
Long64_t Finalize(Bool_t force=kFALSE, Bool_t sync=kFALSE)
Finalize a query.
Definition: TProofPlayerLite.cxx:331
TProofPlayerLite::MakeSelector
Int_t MakeSelector(const char *selfile)
Create the selector object and save the relevant files and binary information in the cache so that th...
Definition: TProofPlayerLite.cxx:45
TObject
Definition: TObject.h:37
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TProofPlayer.h
TProof
Definition: TProof.h:316
TList
Definition: TList.h:44
int