Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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#include "TQObject.h"
25#include "TObject.h"
26
27class TProof;
28class TProof;
29class THashList;
30class TSeqCollection;
31
32class TStatsFeedback : public TObject, public TQObject {
33protected:
34 TString fName; // Identfier for this object
35 TProof *fProof; //handle to PROOF session
36public:
37 TStatsFeedback(TProof *proof = 0);
38 ~TStatsFeedback() override;
39
40 void Feedback(TList *objs);
41 const char *GetName() const override { return fName.Data(); }
42 ULong_t Hash() const override { return fName.Hash(); }
43
44 ClassDefOverride(TStatsFeedback,0) // Present PROOF query feedback
45};
46
47#endif
unsigned long ULong_t
Definition RtypesCore.h:55
#define ClassDefOverride(name, id)
Definition Rtypes.h:341
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
Definition THashList.h:34
A doubly linked list.
Definition TList.h:38
Mother of all ROOT objects.
Definition TObject.h:41
This class controls a Parallel ROOT Facility, PROOF, cluster.
Definition TProof.h:316
This is the ROOT implementation of the Qt object communication mechanism (see also http://www....
Definition TQObject.h:48
Sequenceable collection abstract base class.
Utility class to display PROOF stats feedback histos during queries.
~TStatsFeedback() override
Destructor.
ULong_t Hash() const override
Return hash value for this object.
const char * GetName() const override
Returns name of object.
void Feedback(TList *objs)
Display feedback.
Basic string class.
Definition TString.h:139
const char * Data() const
Definition TString.h:376
UInt_t Hash(ECaseCompare cmp=kExact) const
Return hash value.
Definition TString.cxx:677