00001 //------------------------------------------------------------- 00002 // Go4 Release Package v3.04-01 (build 30401) 00003 // 28-November-2008 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at EE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 #ifndef TGO4ROOTBROWSERPROXY_H 00017 #define TGO4ROOTBROWSERPROXY_H 00018 00019 #include "TGo4Proxy.h" 00020 00021 class TGo4BrowserProxy; 00022 class TGo4Picture; 00023 class TGo4Condition; 00024 class TPad; 00025 class TCanvas; 00026 00027 class TGo4RootBrowserProxy : public TGo4Proxy { 00028 public: 00029 TGo4RootBrowserProxy(TGo4BrowserProxy* br = 0); 00030 00031 virtual ~TGo4RootBrowserProxy(); 00032 00033 virtual Bool_t ProcessEvent(TGo4Slot* slot, TGo4Slot* source, Int_t id, void* param); 00034 00035 void UnblockStatusOutput(); 00036 00037 void DrawPicture(const char* itemname, TGo4Picture* pic, TPad* pad); 00038 void DrawCondition(const char* itemname, TGo4Condition* con); 00039 void DrawItem(const char* itemname); 00040 00041 void Message(const char* str1, const char* str2, Int_t blockdelay); 00042 00043 protected: 00044 00045 static Int_t fCanvasCounter; 00046 00047 void UpdateRatemeter(TObject* obj); 00048 void UpdateLoginfo(TObject* obj); 00049 00050 TCanvas* MakeCanvas(const char* title = 0); 00051 00052 void SyncRootBrowserSlots(); 00053 00054 TGo4BrowserProxy* fBrowser; 00055 00056 Bool_t fLockMessage; 00057 00058 ClassDef(TGo4RootBrowserProxy, 1); 00059 00060 }; 00061 00062 #endif 00063 00064 //----------------------------END OF GO4 SOURCE FILE ---------------------