1 #ifndef ALIMONITORCONTROL_H
2 #define ALIMONITORCONTROL_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
12 #include <TGTextEntry.h>
13 #include <RQ_OBJECT.h>
14 #include <TSysEvtHandler.h>
16 #include "AliMonitorProcess.h"
19 class AliMonitorControl : public TObject {
21 RQ_OBJECT("AliMonitorControl")
24 AliMonitorControl(AliMonitorProcess* process);
25 virtual ~AliMonitorControl();
27 void HandleMenu(Int_t id);
32 virtual Bool_t HandleTimer(TTimer* timer);
36 AliMonitorProcess* fMonitorProcess;
44 TGLayoutHints* fMenuBarLayout;
45 TGLayoutHints* fMenuBarItemLayout;
46 TGLayoutHints* fMenuBarHelpLayout;
47 TGPopupMenu* fMenuFile;
48 TGPopupMenu* fMenuOptions;
49 TGPopupMenu* fMenuHelp;
52 TGLayoutHints* fFrameLayout;
53 TGVerticalFrame* fFrame;
54 TGLayoutHints* fStatusLayout;
55 TGLayoutHints* fStatusFrameLayout;
57 TGHorizontalFrame* fStatus1Frame;
58 TGLabel* fRunNumberLabel;
59 TGTextEntry* fRunNumber;
60 TGLabel* fEventNumberLabel;
61 TGTextEntry* fEventNumber;
63 TGHorizontalFrame* fStatus2Frame;
64 TGLabel* fStatusLabel;
67 TGHorizontalFrame* fStatus3Frame;
68 TGLabel* fEventsLabel;
70 TGLabel* fClientsLabel;
71 TGTextEntry* fClients;
73 TGLayoutHints* fButtonFrameLayout;
74 TGHorizontalFrame* fButtonFrame;
75 TGLayoutHints* fButtonLayout;
76 TGTextButton* fResetButton;
77 TGTextButton* fStartStopButton;
78 Bool_t fStartButtonStatus;
84 ClassDef(AliMonitorControl, 0) // class for controlling the AliMonitorProcess