AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEventsCollectorThread.h
Go to the documentation of this file.
1 #ifndef __AliEventsCollectorThread__
2 #define __AliEventsCollectorThread__
3 
4 #include "AliStorageDatabase.h"
6 
7 #include <TThread.h>
8 #include <TFile.h>
9 
11 
13 {
14 public:
15  AliEventsCollectorThread(AliStorageClientThread *onlineReconstructionManager);
17 
18  void Kill();
19 private:
21 
22  static void* Dispatch(void *arg)
23  {
24  static_cast<AliEventsCollectorThread*>(arg)->CollectorHandle();
25  return nullptr;
26  }
27  void CollectorHandle();
28  TThread *fCollectorThread;
29 
30  TFile *fCurrentFile;
33  Long64_t GetSizeOfAllChunks();
34 
35  bool fFinished;
36 };
37 
38 
39 #endif /* defined(__AliEventsCollectorThread__) */
AliStorageClientThread * fManager
AliEventsCollectorThread(AliStorageClientThread *onlineReconstructionManager)
static void * Dispatch(void *arg)