source: trunk/Mars/mmain/MOnlineDisplay.h@ 11902

Last change on this file since 11902 was 2578, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 909 bytes
Line 
1#ifndef MARS_MOnlineDisplay
2#define MARS_MOnlineDisplay
3
4#ifndef MARS_MStatusDisplay
5#include "MStatusDisplay.h"
6#endif
7
8class TGLabel;
9class TGTextEntry;
10class MEvtLoop;
11
12class MParList;
13class MTaskList;
14class MReadTree;
15class MGTask;
16
17class MOnlineDisplay : public MStatusDisplay
18{
19 friend class MOnlineDump;
20public:
21 enum
22 {
23 kSlider = MStatusDisplay::kSearch + 1,
24 kFreeze
25 };
26
27private:
28 TGCompositeFrame *fTab1;
29 TGCompositeFrame *fTab2;
30
31 TCanvas *fCanvas;
32
33 MGTask *fTask;
34
35 void AddTopFramePart1(TGCompositeFrame *frame);
36 void AddTopFramePart2(TGCompositeFrame *frame);
37 void AddUserFrame();
38
39 void UpdateDisplay();
40
41 Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
42
43public:
44 MOnlineDisplay();
45
46 void SetTask(MGTask *t) { fTask=t; }
47
48 ClassDef(MOnlineDisplay, 0) // Display for camera images (cerenkov events)
49};
50
51#endif
52
53
Note: See TracBrowser for help on using the repository browser.