ROOT  6.06/09
Reference Guide
TStatsFeedback.h
Go to the documentation of this file.
1 // @(#)root/proofplayer:$Id$
2 // Author: G. Ganis May 2012
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, 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_TStatsFeedback
13 #define ROOT_TStatsFeedback
14 
15 
16 //////////////////////////////////////////////////////////////////////////
17 // //
18 // TStatsFeedback //
19 // //
20 // Utility class to display PROOF stats feedback histos during queries. //
21 // //
22 //////////////////////////////////////////////////////////////////////////
23 
24 #ifndef ROOT_TQObject
25 #include "TQObject.h"
26 #endif
27 #ifndef ROOT_TObject
28 #include "TObject.h"
29 #endif
30 
31 class TProof;
32 class TProof;
33 class THashList;
34 class TSeqCollection;
35 
36 class TStatsFeedback : public TObject, public TQObject {
37 protected:
38  TString fName; // Identfier for this object
39  TProof *fProof; //handle to PROOF session
40 public:
43 
44  void Feedback(TList *objs);
45  const char *GetName() const { return fName.Data(); }
46  ULong_t Hash() const { return fName.Hash(); }
47 
48  ClassDef(TStatsFeedback,0) // Present PROOF query feedback
49 };
50 
51 #endif
This is the ROOT implementation of the Qt object communication mechanism (see also http://www...
Definition: TQObject.h:53
Basic string class.
Definition: TString.h:137
const char * Data() const
Definition: TString.h:349
const char * GetName() const
Returns name of object.
Sequenceable collection abstract base class.
#define ClassDef(name, id)
Definition: Rtypes.h:254
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
Definition: THashList.h:36
void Feedback(TList *objs)
Display feedback.
A doubly linked list.
Definition: TList.h:47
TStatsFeedback(TProof *proof=0)
~TStatsFeedback()
Destructor.
ULong_t Hash() const
Return hash value for this object.
unsigned long ULong_t
Definition: RtypesCore.h:51
Definition: TProof.h:339
Mother of all ROOT objects.
Definition: TObject.h:58
const char Int_t const char TProof * proof
Definition: TXSlave.cxx:46
UInt_t Hash(ECaseCompare cmp=kExact) const
Return hash value.
Definition: TString.cxx:605