SourceXtractorPlusPlus  0.10
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ProgressReporterFactory.h
Go to the documentation of this file.
1 
17 /*
18  * ProgressReporterFactory.h
19  *
20  * Created on: Mar 19, 2019
21  * Author: Alejandro Alvarez Ayllon
22  */
23 
24 #ifndef _SEMAIN_PROGRESSPRINTERFACTORY_H
25 #define _SEMAIN_PROGRESSPRINTERFACTORY_H
26 
27 #include <chrono>
28 #include <boost/program_options/options_description.hpp>
29 #include <boost/program_options/variables_map.hpp>
31 
32 namespace SourceXtractor {
33 
42 public:
43  virtual ~ProgressReporterFactory() = default;
44 
46 
47  void addOptions(boost::program_options::options_description &options) const;
48 
50 
52 
53 private:
54  std::chrono::steady_clock::duration m_min_interval;
56 };
57 
58 }
59 
60 #endif // _SEMAIN_PROGRESSPRINTERFACTORY_H
void addOptions(boost::program_options::options_description &options) const
STL class.
std::chrono::steady_clock::duration m_min_interval
void configure(const std::map< std::string, boost::program_options::variable_value > &args)
std::shared_ptr< ProgressMediator > createProgressMediator(void) const