test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 0; };
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()