SourceXtractorPlusPlus  0.15
Please provide a description of the project.
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
std::shared_ptr
STL class.
ProgressMediator.h
SourceXtractor::ProgressReporterFactory::~ProgressReporterFactory
virtual ~ProgressReporterFactory()=default
SourceXtractor::ProgressReporterFactory::addOptions
void addOptions(boost::program_options::options_description &options) const
Definition: ProgressReporterFactory.cpp:31
SourceXtractor
Definition: Aperture.h:30
SourceXtractor::ProgressReporterFactory::m_min_interval
std::chrono::steady_clock::duration m_min_interval
Definition: ProgressReporterFactory.h:54
std::map
STL class.
SourceXtractor::ProgressReporterFactory::m_disable_progress_bar
bool m_disable_progress_bar
Definition: ProgressReporterFactory.h:55
SourceXtractor::ProgressReporterFactory::ProgressReporterFactory
ProgressReporterFactory()
Definition: ProgressReporterFactory.cpp:28
SourceXtractor::ProgressReporterFactory
Definition: ProgressReporterFactory.h:41
SourceXtractor::ProgressReporterFactory::createProgressMediator
std::shared_ptr< ProgressMediator > createProgressMediator(void) const
Definition: ProgressReporterFactory.cpp:47
SourceXtractor::ProgressReporterFactory::configure
void configure(const std::map< std::string, boost::program_options::variable_value > &args)
Definition: ProgressReporterFactory.cpp:38