]>
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* | |
5eb34a26 | 19 | private: |
20 | AliStorageAdministratorPanelListEvents(); | |
21 | virtual ~AliStorageAdministratorPanelListEvents(); | |
22 | ||
23 | static AliStorageAdministratorPanelListEvents *fInstance; | |
24 | ||
164d3d29 | 25 | |
26 | ||
5eb34a26 | 27 | //gui components and methods |
28 | TGLabel *fStatusLabel; | |
29 | TGNumberEntry *fRunNumberMinEntry; | |
30 | TGNumberEntry *fRunNumberMaxEntry; | |
31 | TGNumberEntry *fEventNumberMinEntry; | |
32 | TGNumberEntry *fEventNumberMaxEntry; | |
33 | TGNumberEntry *fMultiplicityMinEntry; | |
34 | TGNumberEntry *fMultiplicityMaxEntry; | |
35 | ||
36 | TGCheckButton *fProtonProtonCheckButton; | |
37 | TGCheckButton *fLeadLeadCheckButton; | |
38 | TGCheckButton *fTempCheckButton; | |
39 | TGCheckButton *fPermCheckButton; | |
40 | ||
41 | TGListBox *fEventsList; | |
42 | ||
43 | void InitWindow(); | |
44 | void onCloseButton(); | |
45 | void onGetListButton(); | |
46 | void onMarkButton(); | |
164d3d29 | 47 | void onLoadButton(); |
5eb34a26 | 48 | |
49 | std::vector<serverListStruct> fEventsListVector; | |
50 | ||
51 | virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t); | |
52 | void CloseWindow(); | |
53 | ||
164d3d29 | 54 | storageSockets fServerSocket; |
5eb34a26 | 55 | AliStorageEventManager *fEventManager; |
164d3d29 | 56 | |
57 | AliESDEvent *fCurrentEvent; | |
5eb34a26 | 58 | |
59 | AliStorageAdministratorPanelListEvents(const AliStorageAdministratorPanelListEvents&); | |
60 | AliStorageAdministratorPanelListEvents& operator=(const AliStorageAdministratorPanelListEvents&); | |
61 | ||
62 | ClassDef(AliStorageAdministratorPanelListEvents,0); | |
63 | }; | |
64 | ||
65 | #endif |