IRoadStats.hpp
1 #pragma once
2 
3 #include <opals/IModuleBase.hpp>
4 #include <opals/Path.hpp>
5 #include <opals/Vector.hpp>
6 
7 #if defined(_MSC_VER) && !defined(OPALS_NO_AUTOLINK)
8  #if defined _DEBUG && !defined OPALS_NO_DEBUG
9  #pragma comment(lib, "opalsRoadStats_d.lib")
10  #else
11  #pragma comment(lib, "opalsRoadStats.lib")
12  #endif
13 #endif
14 
15 namespace opals {
16 
17  namespace opts
18  {
19  /// Options of \ref ModuleRoadStats
20  namespace RoadStats
21  {
22  /// Options of \ref ModuleRoadStats
23  using Options =
24  IGroup< Names::_,
28  >;
29  }
30  }
31 
32  /// Derives road statistics parameter based on the road axis and a road probability grid.
33  /** TODO:
34  More details on opalsRoadStats with much more words,
35  possibly on several lines. */
36  /// \see \ref ModuleRoadStats
37  class OPALS_API IRoadStats : virtual public IModuleBase
38  {
39 
40  public:
41  static IRoadStats* New();
42  static IRoadStats* New( IControlObject &controlObject );
43  static IRoadStats* New( const IModuleBase &parent );
44  static IRoadStats* New( const IModuleBase &parent, IControlObject &controlObject );
45 
46  virtual ~IRoadStats() {}
47 
48  /// \name Access to module-specific options.
49  ///@{
51  Options& opts() override = 0;
52  const Options& opts() const override = 0;
53  ///@}
54 
55  };
56 
57 };
IGroup< Names::_, IValue< Names::axisFile, false, Path >, IValue< Names::inFile, false, Vector< Path > >, IValue< Names::weightFunc, false, Vector< double > > > Options
Options of Module RoadStats.
Definition: IRoadStats.hpp:28
A leaf that holds a value.
Definition: IOption.hpp:62
Contains the public interface of OPALS.
Definition: AbsValueOrQuantile.hpp:8
Derives road statistics parameter based on the road axis and a road probability grid.
Definition: IRoadStats.hpp:37
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:136