ODIN
reader.h
1 /***************************************************************************
2  reader.h - description
3  -------------------
4  begin : Mon Jan 8 2007
5  copyright : (C) 2000-2021 by Thies Jochimsen
6  email : thies@jochimsen.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef RECOREADER_H
19 #define RECOREADER_H
20 
21 #include <odinreco/odinreco.h>
22 #include <odinreco/index.h>
23 
24 
25 
36 
37  public:
38 
39  virtual ~RecoReaderInterface() {}
40 
45  virtual bool init(const STD_string& input_filename) = 0;
46 
51  virtual bool fetch(RecoCoord& coord, ComplexData<1>& adc) = 0;
52 
56  virtual const STD_vector<RecoCoord>& get_coords() const = 0;
57 
61  virtual dvector dim_values(recoDim dim) const = 0;
62 
67  virtual const TinyVector<float,3>& reloffset() const = 0;
68 
72  virtual STD_string image_proc() const = 0;
73 
78  virtual const TinyVector<int,3>& image_size() const = 0;
79 
83  virtual const Protocol& protocol() const = 0;
84 
89  virtual STD_string seqrecipe() const = 0;
90 
96  virtual STD_string postProc3D() const = 0;
97 
103  virtual STD_string preProc3D() const = 0;
104 
108  virtual STD_string cmdline_opts() const = 0;
109 
110 };
111 
112 
113 
118 #endif
119 
Protocol proxy.
Definition: protocol.h:33
virtual STD_string image_proc() const =0
virtual STD_string postProc3D() const =0
virtual const Protocol & protocol() const =0
virtual STD_string cmdline_opts() const =0
virtual bool init(const STD_string &input_filename)=0
virtual const STD_vector< RecoCoord > & get_coords() const =0
virtual const TinyVector< float, 3 > & reloffset() const =0
virtual STD_string seqrecipe() const =0
virtual const TinyVector< int, 3 > & image_size() const =0
virtual STD_string preProc3D() const =0
virtual dvector dim_values(recoDim dim) const =0
virtual bool fetch(RecoCoord &coord, ComplexData< 1 > &adc)=0
recoDim
Definition: reco.h:74