]>
Commit | Line | Data |
---|---|---|
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> | |
10 | #include <TQObject.h> | |
11 | ||
12 | class AliStorageAdministratorPanelListEvents : public TGMainFrame | |
13 | { | |
14 | public: | |
15 | static AliStorageAdministratorPanelListEvents* GetInstance(); | |
16 | AliESDEvent* GetSelectedEvent(){return fCurrentEvent;} | |
17 | void onExit(); | |
18 | void SelectedEvent(); //*SIGNAL* | |
19 | private: | |
20 | AliStorageAdministratorPanelListEvents(); | |
21 | virtual ~AliStorageAdministratorPanelListEvents(); | |
22 | ||
23 | static AliStorageAdministratorPanelListEvents *fInstance; | |
24 | ||
25 | ||
26 | ||
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(); | |
47 | void onLoadButton(); | |
48 | ||
49 | std::vector<serverListStruct> fEventsListVector; | |
50 | ||
51 | virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t); | |
52 | void CloseWindow(); | |
53 | ||
54 | storageSockets fServerSocket; | |
55 | AliStorageEventManager *fEventManager; | |
56 | ||
57 | AliESDEvent *fCurrentEvent; | |
58 | ||
59 | AliStorageAdministratorPanelListEvents(const AliStorageAdministratorPanelListEvents&); | |
60 | AliStorageAdministratorPanelListEvents& operator=(const AliStorageAdministratorPanelListEvents&); | |
61 | ||
62 | ClassDef(AliStorageAdministratorPanelListEvents,0); | |
63 | }; | |
64 | ||
65 | #endif |