SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
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
32namespace SourceXtractor {
33
42public:
43 virtual ~ProgressReporterFactory() = default;
44
46
47 void addOptions(boost::program_options::options_description &options) const;
48
50
52
53private:
54 std::chrono::steady_clock::duration m_min_interval;
56};
57
58}
59
60#endif // _SEMAIN_PROGRESSPRINTERFACTORY_H
std::shared_ptr< ProgressMediator > createProgressMediator(void) const
void addOptions(boost::program_options::options_description &options) const
void configure(const std::map< std::string, boost::program_options::variable_value > &args)
std::chrono::steady_clock::duration m_min_interval