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 
36 
37  void closeFile();
38 
39 private:
43 
46  std::vector<std::string> filePatterns_;
47 
51 
55 
59 
62  std::unique_ptr<edm::StreamerInputFile> streamerInputFile_;
63 
65 
67 
68  int timeOut_;
69 
70  std::deque<std::string> filesInQueue_;
71 
72  bool end_;
73 
75 };
76 
77 #endif
std::vector< std::string > filePatterns_
const EventMsgView * getNextEvent()
std::deque< std::string > filesInQueue_
WatcherStreamFileReader(edm::ParameterSet const &pset)
const InitMsgView * getHeader()
edm::StreamerInputFile * getInputFile()
std::unique_ptr< edm::StreamerInputFile > streamerInputFile_
HLT enums.