CMS 3D CMS Logo

WatcherStreamFileReader.h
Go to the documentation of this file.
1 #ifndef IOPool_Streamer_StreamerFileReader_h
2 #define IOPool_Streamer_StreamerFileReader_h
3 
6 
8 
9 #include <string>
10 #include <iostream>
11 #include <deque>
12 
22 namespace edm{
23  class StreamerInputFile;
24 }
25 
27 public:
30 
31  const InitMsgView* getHeader();
32  const EventMsgView* getNextEvent();
33  const bool newHeader();
34 
35  edm::StreamerInputFile* getInputFile();
36 
37  void closeFile();
38 
39 private:
43 
46  std::vector<std::string> filePatterns_;
47 
51 
52 
56 
60 
63  std::auto_ptr<edm::StreamerInputFile> streamerInputFile_;
64 
66 
68 
69  int timeOut_;
70 
71  std::deque<std::string> filesInQueue_;
72 
73  bool end_;
74 
76 
78 
80 
81 };
82 
83 #endif
84 
std::vector< std::string > filePatterns_
std::deque< std::string > filesInQueue_
std::auto_ptr< edm::StreamerInputFile > streamerInputFile_
HLT enums.