00001 // @(#)root/proofplayer:$Id: TDrawFeedback.h 20882 2007-11-19 11:31:26Z rdm $ 00002 // Author: Maarten Ballintijn 28/10/2003 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #ifndef ROOT_TDrawFeedback 00013 #define ROOT_TDrawFeedback 00014 00015 00016 ////////////////////////////////////////////////////////////////////////// 00017 // // 00018 // TDrawFeedback // 00019 // // 00020 // Utility class to draw objects in the feedback list during queries. // 00021 // // 00022 ////////////////////////////////////////////////////////////////////////// 00023 00024 #ifndef ROOT_TQObject 00025 #include "TQObject.h" 00026 #endif 00027 #ifndef ROOT_TObject 00028 #include "TObject.h" 00029 #endif 00030 00031 class TProof; 00032 class TProof; 00033 class THashList; 00034 class TSeqCollection; 00035 00036 class TDrawFeedback : public TObject, public TQObject { 00037 private: 00038 Bool_t fAll; //draw all or selected objects 00039 THashList *fNames; //selected objects 00040 00041 protected: 00042 Option_t *fOption; //draw option 00043 TProof *fProof; //handle to PROOF session 00044 00045 public: 00046 TDrawFeedback(TProof *proof = 0, TSeqCollection *names = 0); 00047 ~TDrawFeedback(); 00048 00049 void Feedback(TList *objs); 00050 void SetOption(Option_t *option) { fOption = option; } 00051 00052 ClassDef(TDrawFeedback,0) // Present PROOF query feedback 00053 }; 00054 00055 #endif