Line | |
---|
1 | #ifndef MARS_MOnlineDisplay
|
---|
2 | #define MARS_MOnlineDisplay
|
---|
3 |
|
---|
4 | #ifndef MARS_MStatusDisplay
|
---|
5 | #include "MStatusDisplay.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class TGLabel;
|
---|
9 | class TGTextEntry;
|
---|
10 | class MEvtLoop;
|
---|
11 |
|
---|
12 | class MParList;
|
---|
13 | class MTaskList;
|
---|
14 | class MReadTree;
|
---|
15 | class MGTask;
|
---|
16 |
|
---|
17 | class MOnlineDisplay : public MStatusDisplay
|
---|
18 | {
|
---|
19 | friend class MOnlineDump;
|
---|
20 | public:
|
---|
21 | enum
|
---|
22 | {
|
---|
23 | kSlider = MStatusDisplay::kSearch + 1,
|
---|
24 | kFreeze
|
---|
25 | };
|
---|
26 |
|
---|
27 | private:
|
---|
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 |
|
---|
43 | public:
|
---|
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.