IEchoRatio.hpp
1 #pragma once
2 
3 #include <opals/IModuleBase.hpp>
4 #include <opals/String.hpp>
5 #include <opals/Path.hpp>
6 #include <opals/EchoRatioMode.hpp>
7 
8 #if defined(_MSC_VER) && !defined(OPALS_NO_AUTOLINK)
9  #if defined _DEBUG && !defined OPALS_NO_DEBUG
10  #pragma comment(lib, "opalsEchoRatio_d.lib")
11  #else
12  #pragma comment(lib, "opalsEchoRatio.lib")
13  #endif
14 #endif
15 
16 namespace opals {
17 
18  namespace opts
19  {
20  /// Options of \ref ModuleEchoRatio
21  namespace EchoRatio
22  {
23  /// Options of \ref ModuleEchoRatio
24  using Options =
25  IGroup< Names::_, false,
31  >;
32  }
33  }
34 
35  /// Derives and stores the echo ratio (ER) attribute for points of an OPALS data manager.
36  /** TODO:
37  More details on opalsEchoRatio */
38  /// \see \ref ModuleEchoRatio
39  class OPALS_API IEchoRatio : virtual public IModuleBase
40  {
41 
42  public:
43  static IEchoRatio* New();
44  static IEchoRatio* New( IControlObject &controlObject );
45  static IEchoRatio* New( const IModuleBase &parent );
46  static IEchoRatio* New( const IModuleBase &parent, IControlObject &controlObject );
47 
48  virtual ~IEchoRatio() {}
49 
50  /// \name Access to module-specific options.
51  ///@{
53  virtual Options& opts() = 0;
54  virtual const Options& opts() const = 0;
55  ///@}
56 
57  };
58 
59 };
IGroup< Names::_, false, ILeaf< Names::inFile, false, Path >, ILeaf< Names::searchRadius, false, float >, ILeaf< Names::ratioMode, false, EchoRatioMode >, ILeaf< Names::filter, false, Vector< String > >, ILeaf< Names::maxSigma, false, float > > Options
Options of Module EchoRatio.
Definition: IEchoRatio.hpp:31
Leaf that holds a read-only value.
Definition: IOption.hpp:63
Contains the public interface of OPALS.
Definition: AbsValueOrQuantile.hpp:8
Abstract base class of all opals modules.
Definition: IModuleBase.hpp:13
Interface for retrieving status and progress information from a module run.
Definition: c++_api/inc/opals/IControlObject.hpp:30
A group of options.
Definition: IOption.hpp:108
Derives and stores the echo ratio (ER) attribute for points of an OPALS data manager.
Definition: IEchoRatio.hpp:39