GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4RootBrowserProxy.h
Go to the documentation of this file.
1 // $Id$
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4ROOTBROWSERPROXY_H
15 #define TGO4ROOTBROWSERPROXY_H
16 
17 #include "TGo4Proxy.h"
18 
19 class TGo4BrowserProxy;
20 class TGo4Picture;
21 class TGo4Condition;
22 class TPad;
23 class TCanvas;
24 
26  public:
28 
29  virtual ~TGo4RootBrowserProxy();
30 
31  Bool_t ProcessEvent(TGo4Slot *slot, TGo4Slot *source, Int_t id, void *param) override;
32 
33  void UnblockStatusOutput();
34 
35  void DrawPicture(const char *itemname, TGo4Picture *pic, TPad *pad);
36  void DrawCondition(const char *itemname, TGo4Condition *con);
37  void DrawItem(const char *itemname);
38 
39  void Message(const char *str1, const char *str2, Int_t blockdelay);
40 
41  protected:
42 
43  static Int_t fCanvasCounter;
44 
45  void UpdateRatemeter(TObject *obj);
46  void UpdateLoginfo(TObject *obj);
47 
48  TCanvas *MakeCanvas(const char *title = nullptr);
49 
50  void SyncRootBrowserSlots();
51 
53 
54  Bool_t fLockMessage{kFALSE};
55 
57 
58 };
59 
60 #endif
void Message(const char *str1, const char *str2, Int_t blockdelay)
TGo4RootBrowserProxy(TGo4BrowserProxy *br=nullptr)
void UpdateRatemeter(TObject *obj)
void DrawCondition(const char *itemname, TGo4Condition *con)
TGo4BrowserProxy * fBrowser
Bool_t ProcessEvent(TGo4Slot *slot, TGo4Slot *source, Int_t id, void *param) override
void DrawItem(const char *itemname)
ClassDefOverride(TGo4RootBrowserProxy, 1)
void UpdateLoginfo(TObject *obj)
TCanvas * MakeCanvas(const char *title=nullptr)
void DrawPicture(const char *itemname, TGo4Picture *pic, TPad *pad)