UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
rws_sim.hpp
1 /* ws_sim.hpp */
2 /* $Id: ws_sim.hpp 21267 2011-11-23 15:19:39Z guser1 $ */
3 #ifndef __rws_sim_hpp
4 #define __rws_sim_hpp
5 
6 #ifdef GE_BUILD
7 #include <wave_field.hpp>
8 #include <s2_corr.hpp>
9 #else
10 #include <s2proc/wave_field.hpp>
11 #include <s2proc/s2_corr.hpp>
12 #endif
13 
15 namespace RWSel
16 {
18  class Sim
19  {
20  public:
21 
23  Sim();
24 
26  virtual ~Sim();
27 
29  virtual Sim* clone() const = 0;
30 
33  bool operator()(const WaveField &field, S2Corr::DVector &coeffs,
34  size_t t0id, size_t dt) const;
35 
36  protected:
37 
40  virtual bool calc(const WaveField &field, S2Corr::DVector &coeffs,
41  size_t t0id, size_t dt) const = 0;
42  };
43 };
44 
45 #endif /* rws_sim.hpp */
Definition: rws_sim.hpp:18
virtual ~Sim()
std::vector< Trace::AmplT > DVector
Definition: s2_corr.hpp:20
Definition: wave_field.hpp:13
virtual Sim * clone() const =0
virtual bool calc(const WaveField &field, S2Corr::DVector &coeffs, size_t t0id, size_t dt) const =0
bool operator()(const WaveField &field, S2Corr::DVector &coeffs, size_t t0id, size_t dt) const