CMS 3D CMS Logo

CocoaDaqReader.h
Go to the documentation of this file.
1 #ifndef CocoaDaqReader_h
2 #define CocoaDaqReader_h
3 #include <string>
4 #include <vector>
5 
7 
8 
10  public:
13  return theDaqReader; }
14  static void SetDaqReader( CocoaDaqReader* reader );
15 
16  virtual ~CocoaDaqReader(){ };
17 
18  virtual bool ReadNextEvent() = 0;
19  virtual bool ReadEvent( int nev ){ return false; };
20  virtual void BuildMeasurementsFromOptAlign( std::vector<OpticalAlignMeasurementInfo>& measList );
21 
22  public:
23  int GetNEvents() const { return nev; }
24 
25  private:
27 
28  protected:
29  int nev;
30  int nextEvent;
31 };
32 
33 #endif
static CocoaDaqReader * GetDaqReader()
virtual void BuildMeasurementsFromOptAlign(std::vector< OpticalAlignMeasurementInfo > &measList)
virtual bool ReadNextEvent()=0
int GetNEvents() const
virtual bool ReadEvent(int nev)
static CocoaDaqReader * theDaqReader
static void SetDaqReader(CocoaDaqReader *reader)
virtual ~CocoaDaqReader()