HYDRA_development_version
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
honlinemonclientcanvas.h
Go to the documentation of this file.
1 #ifndef HONLINEMONCLIENTCANVAS_H
2 #define HONLINEMONCLIENTCANVAS_H
3 
4 #include "TNamed.h"
5 #include "TRootEmbeddedCanvas.h"
6 #include "TCanvas.h"
7 #include "TList.h"
8 #include "TGWindow.h"
9 
10 #include "honlinemonclienthist.h"
11 
13 
14 class HOnlineMonClientCanvas : public TNamed {
15 public:
16  TList listHists;
17 
20 
21  void CreateCanvas(HOnlineMonClientMain* clientmain, TGWindow* window);
22  void DestroyCanvas(HOnlineMonClientMain* clientmain);
23 
24  TCanvas* GetCanvas();
25  TRootEmbeddedCanvas* GetRCanvas();
26 
27  void SetSplitted(Bool_t split);
28  Bool_t IsSplitted();
29 
30  void SetWidth(Int_t width);
31  Int_t GetWidth();
32 
33  void SetHeight(Int_t height);
34  Int_t GetHeight();
35 
36  void SetNx(Int_t nx);
37  Int_t GetNx();
38 
39  void SetNy(Int_t ny);
40  Int_t GetNy();
41 
42  void SetActive(Bool_t state);
43  Bool_t IsActive();
44 
45 
46 private:
47  TRootEmbeddedCanvas *rcanvas;
48  Bool_t splitted;
49  Bool_t active;
50  Int_t width;
51  Int_t height;
52  Int_t nx;
53  Int_t ny;
54 
56 };
57 #endif
void DestroyCanvas(HOnlineMonClientMain *clientmain)
TRootEmbeddedCanvas * rcanvas
void SetSplitted(Bool_t split)
ClassDef(HOnlineMonClientCanvas, 1)
TRootEmbeddedCanvas * GetRCanvas()
void CreateCanvas(HOnlineMonClientMain *clientmain, TGWindow *window)