]>
Commit | Line | Data |
---|---|---|
5eb34a26 | 1 | #ifndef AliStorageAdministratorPanelListEvents_H |
2 | #define AliStorageAdministratorPanelListEvents_H | |
3 | ||
4 | #include "AliStorageTypes.h" | |
5 | #include "AliStorageEventManager.h" | |
6 | ||
7 | #include <TGLabel.h> | |
8 | #include <TGNumberEntry.h> | |
9 | #include <TGListBox.h> | |
164d3d29 | 10 | #include <TQObject.h> |
5eb34a26 | 11 | |
12 | class AliStorageAdministratorPanelListEvents : public TGMainFrame | |
13 | { | |
14 | public: | |
15 | static AliStorageAdministratorPanelListEvents* GetInstance(); | |
164d3d29 | 16 | AliESDEvent* GetSelectedEvent(){return fCurrentEvent;} |
17 | void onExit(); | |
18 | void SelectedEvent(); //*SIGNAL* | |
01ca7d6f | 19 | void SetOfflineMode(Bool_t); |
20 | ||
5eb34a26 | 21 | private: |
22 | AliStorageAdministratorPanelListEvents(); | |
23 | virtual ~AliStorageAdministratorPanelListEvents(); | |
24 | ||
25 | static AliStorageAdministratorPanelListEvents *fInstance; | |
26 | ||
164d3d29 | 27 | |
28 | ||
5eb34a26 | 29 | //gui components and methods |
30 | TGLabel *fStatusLabel; | |
31 | TGNumberEntry *fRunNumberMinEntry; | |
32 | TGNumberEntry *fRunNumberMaxEntry; | |
33 | TGNumberEntry *fEventNumberMinEntry; | |
34 | TGNumberEntry *fEventNumberMaxEntry; | |
35 | TGNumberEntry *fMultiplicityMinEntry; | |
36 | TGNumberEntry *fMultiplicityMaxEntry; | |
37 | ||
38 | TGCheckButton *fProtonProtonCheckButton; | |
39 | TGCheckButton *fLeadLeadCheckButton; | |
40 | TGCheckButton *fTempCheckButton; | |
41 | TGCheckButton *fPermCheckButton; | |
42 | ||
01ca7d6f | 43 | TGTextButton *fCloseButton; |
44 | TGTextButton *fGetListButton; | |
45 | TGTextButton *fMarkButton; | |
46 | TGTextButton *fLoadButton; | |
47 | ||
5eb34a26 | 48 | TGListBox *fEventsList; |
49 | ||
50 | void InitWindow(); | |
51 | void onCloseButton(); | |
52 | void onGetListButton(); | |
53 | void onMarkButton(); | |
164d3d29 | 54 | void onLoadButton(); |
5eb34a26 | 55 | |
56 | std::vector<serverListStruct> fEventsListVector; | |
57 | ||
58 | virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t); | |
59 | void CloseWindow(); | |
60 | ||
164d3d29 | 61 | storageSockets fServerSocket; |
5eb34a26 | 62 | AliStorageEventManager *fEventManager; |
164d3d29 | 63 | |
64 | AliESDEvent *fCurrentEvent; | |
5eb34a26 | 65 | |
66 | AliStorageAdministratorPanelListEvents(const AliStorageAdministratorPanelListEvents&); | |
67 | AliStorageAdministratorPanelListEvents& operator=(const AliStorageAdministratorPanelListEvents&); | |
68 | ||
69 | ClassDef(AliStorageAdministratorPanelListEvents,0); | |
70 | }; | |
71 | ||
72 | #endif |