Fix for coverity (AdC)
[u/mrichter/AliRoot.git] / STORAGE / 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>
9#include <TGListBox.h>
10
11namespace zmq
12{
13 class socket_t;
14}
15
16class AliStorageAdministratorPanelListEvents : public TGMainFrame
17{
18public:
19 static AliStorageAdministratorPanelListEvents* GetInstance();
20 void SetSocket(zmq::socket_t *socket);
21private:
22 AliStorageAdministratorPanelListEvents();
23 virtual ~AliStorageAdministratorPanelListEvents();
24
25 static AliStorageAdministratorPanelListEvents *fInstance;
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 onExit();
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 zmq::socket_t *fServerSocket;
55 AliStorageEventManager *fEventManager;
56
57 AliStorageAdministratorPanelListEvents(const AliStorageAdministratorPanelListEvents&);
58 AliStorageAdministratorPanelListEvents& operator=(const AliStorageAdministratorPanelListEvents&);
59
60 ClassDef(AliStorageAdministratorPanelListEvents,0);
61};
62
63#endif