]>
Commit | Line | Data |
---|---|---|
1 | // Author: 2010 Svein Lindal <slindal@fys.uio.no> * | |
2 | // for The ALICE HLT Project. * | |
3 | ||
4 | #ifndef ALIEVEHLTEVENTMANAGERHOMER_H | |
5 | #define ALIEVEHLTEVENTMANAGERHOMER_H | |
6 | ||
7 | class AliESDEvent; | |
8 | ||
9 | #include "AliEveHLTEventManager.h" | |
10 | #include "AliEveEventBufferHomer.h" | |
11 | #include "AliEveEventBuffer.h" | |
12 | class TList; | |
13 | class TTimer; | |
14 | class TGLOverlayButton; | |
15 | ||
16 | class AliEveHLTEventManagerHomer : public AliEveHLTEventManager { | |
17 | ||
18 | public: | |
19 | ||
20 | ///Constructor | |
21 | AliEveHLTEventManagerHomer(); | |
22 | ||
23 | virtual ~AliEveHLTEventManagerHomer(); | |
24 | ||
25 | //Get Next Event | |
26 | void NextEvent(); | |
27 | //Try to get the next event | |
28 | void TryNextEvent(); | |
29 | //Get next event in buffer | |
30 | void NavigateFwd(); | |
31 | //Get Previous event in buffer | |
32 | void NavigateBack(); | |
33 | ||
34 | //Process block list | |
35 | void ProcessList(TList * blockList); | |
36 | ||
37 | private: | |
38 | ||
39 | ||
40 | /** copy constructor prohibited */ | |
41 | AliEveHLTEventManagerHomer(const AliEveHLTEventManagerHomer&); | |
42 | ||
43 | /** assignment operator prohibited */ | |
44 | AliEveHLTEventManagerHomer& operator=(const AliEveHLTEventManagerHomer&); | |
45 | ||
46 | AliEveEventBufferHomer * fEventBuffer; //Event buffer | |
47 | ///Get event buffer | |
48 | AliEveEventBuffer * GetEventBuffer() { return dynamic_cast<AliEveEventBuffer*>(fEventBuffer); } | |
49 | ||
50 | ||
51 | TTimer * fNextEventTimer; //Timer to fetch next event | |
52 | TGLOverlayButton * fInfoButton; //Information button | |
53 | ||
54 | ||
55 | ClassDef(AliEveHLTEventManagerHomer, 0); | |
56 | ||
57 | ||
58 | ||
59 | }; | |
60 | ||
61 | #endif |