Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TDrawFeedback.h
Go to the documentation of this file.
1// @(#)root/proofplayer:$Id$
2// Author: Maarten Ballintijn 28/10/2003
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_TDrawFeedback
13#define ROOT_TDrawFeedback
14
15
16//////////////////////////////////////////////////////////////////////////
17// //
18// TDrawFeedback //
19// //
20// Utility class to draw objects in the feedback list during queries. //
21// Draws histograms in separated canvases and user-defined objects via //
22// Draw(). Users requiring advanced treatment should implement their //
23// own version following this example. See also TStatsFeedback. //
24// //
25//////////////////////////////////////////////////////////////////////////
26
27#include "TQObject.h"
28#include "TObject.h"
29
30class TProof;
31class TProof;
32class THashList;
33class TSeqCollection;
34
35class TDrawFeedback : public TObject, public TQObject {
36private:
37 TString fName; // Identfier for this object
38 Bool_t fAll; //draw all or selected objects
39 THashList *fNames; //selected objects
40
41protected:
42 Option_t *fOption; //draw option
43 TProof *fProof; //handle to PROOF session
44
45public:
46 TDrawFeedback(TProof *proof = 0, TSeqCollection *names = 0);
47 ~TDrawFeedback() override;
48
49 void Feedback(TList *objs);
50 const char *GetName() const override { return fName.Data(); }
51 ULong_t Hash() const override { return fName.Hash(); }
53
54 ClassDefOverride(TDrawFeedback,0) // Present PROOF query feedback
55};
56
57#endif
unsigned long ULong_t
Definition RtypesCore.h:55
const char Option_t
Definition RtypesCore.h:66
#define ClassDefOverride(name, id)
Definition Rtypes.h:346
Option_t Option_t option
Utility class to draw objects in the feedback list during queries.
void Feedback(TList *objs)
Display feedback.
ULong_t Hash() const override
Return hash value for this object.
THashList * fNames
TProof * fProof
Option_t * fOption
void SetOption(Option_t *option)
const char * GetName() const override
Returns name of object.
~TDrawFeedback() override
Destructor.
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.
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