]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MONITOR/alistoragemanager/AliStorageAdministratorPanelListEvents.h
List panel improved. Faulty macros commented in alieve_online_new. Typo in CMakelibMO...
[u/mrichter/AliRoot.git] / MONITOR / alistoragemanager / AliStorageAdministratorPanelListEvents.h
CommitLineData
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>
a7f93de6 9#include <TGDoubleSlider.h>
10#include <TGSlider.h>
5eb34a26 11#include <TGListBox.h>
164d3d29 12#include <TQObject.h>
5eb34a26 13
14class AliStorageAdministratorPanelListEvents : public TGMainFrame
15{
16public:
17 static AliStorageAdministratorPanelListEvents* GetInstance();
164d3d29 18 AliESDEvent* GetSelectedEvent(){return fCurrentEvent;}
19 void onExit();
20 void SelectedEvent(); //*SIGNAL*
01ca7d6f 21 void SetOfflineMode(Bool_t);
5eb34a26 22private:
23 AliStorageAdministratorPanelListEvents();
24 virtual ~AliStorageAdministratorPanelListEvents();
25
26 static AliStorageAdministratorPanelListEvents *fInstance;
27
164d3d29 28
29
5eb34a26 30 //gui components and methods
31 TGLabel *fStatusLabel;
a7f93de6 32 TGNumberEntry *fRunMinEntry;
33 TGNumberEntry *fRunMaxEntry;
34 TGNumberEntry *fEventMinEntry;
35 TGNumberEntry *fEventMaxEntry;
5eb34a26 36 TGNumberEntry *fMultiplicityMinEntry;
37 TGNumberEntry *fMultiplicityMaxEntry;
38
a7f93de6 39 TGCheckButton *fPPcheckbox;
40 TGCheckButton *fPbPbcheckbox;
41 TGCheckButton *fTemporaryCheckbox;
42 TGCheckButton *fPermanentCheckbox;
5eb34a26 43
01ca7d6f 44 TGTextButton *fCloseButton;
45 TGTextButton *fGetListButton;
46 TGTextButton *fMarkButton;
47 TGTextButton *fLoadButton;
48
a7f93de6 49 TGListBox *fListBox;
5eb34a26 50
51 void InitWindow();
52 void onCloseButton();
53 void onGetListButton();
54 void onMarkButton();
341ffc50 55 void onLoadButton();
5eb34a26 56
57 std::vector<serverListStruct> fEventsListVector;
58
59 virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t);
60 void CloseWindow();
61
164d3d29 62 storageSockets fServerSocket;
5eb34a26 63 AliStorageEventManager *fEventManager;
164d3d29 64
341ffc50 65 AliESDEvent *fCurrentEvent;
5eb34a26 66
67 AliStorageAdministratorPanelListEvents(const AliStorageAdministratorPanelListEvents&);
68 AliStorageAdministratorPanelListEvents& operator=(const AliStorageAdministratorPanelListEvents&);
69
70 ClassDef(AliStorageAdministratorPanelListEvents,0);
71};
72
73#endif