|
SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
|
#include <ProgressReporterFactory.h>
Public Member Functions | |
| virtual | ~ProgressReporterFactory ()=default |
| ProgressReporterFactory () | |
| void | addOptions (boost::program_options::options_description &options) const |
| void | configure (const std::map< std::string, boost::program_options::variable_value > &args) |
| std::shared_ptr< ProgressMediator > | createProgressMediator (void) const |
Private Attributes | |
| std::chrono::steady_clock::duration | m_min_interval |
| bool | m_disable_progress_bar |
Abstracts away the creation of concrete ProgressReporters
Definition at line 41 of file ProgressReporterFactory.h.
|
virtualdefault |
| SourceXtractor::ProgressReporterFactory::ProgressReporterFactory | ( | ) |
Definition at line 28 of file ProgressReporterFactory.cpp.
| void SourceXtractor::ProgressReporterFactory::addOptions | ( | boost::program_options::options_description & | options | ) | const |
Definition at line 31 of file ProgressReporterFactory.cpp.
References SourceXtractor::PROGRESS_BAR, and SourceXtractor::PROGRESS_MIN_INTERVAL.
Referenced by SEMain::defineProgramArguments().
| void SourceXtractor::ProgressReporterFactory::configure | ( | const std::map< std::string, boost::program_options::variable_value > & | args | ) |
Definition at line 38 of file ProgressReporterFactory.cpp.
References m_disable_progress_bar, m_min_interval, SourceXtractor::PROGRESS_BAR, and SourceXtractor::PROGRESS_MIN_INTERVAL.
Referenced by SEMain::mainMethod().
| std::shared_ptr< ProgressMediator > SourceXtractor::ProgressReporterFactory::createProgressMediator | ( | void | ) | const |
Definition at line 47 of file ProgressReporterFactory.cpp.
References SourceXtractor::ProgressNCurses::isTerminalCapable(), Euclid::Configuration::logger, m_disable_progress_bar, and m_min_interval.
Referenced by SEMain::mainMethod().

|
private |
Definition at line 55 of file ProgressReporterFactory.h.
Referenced by configure(), and createProgressMediator().
|
private |
Definition at line 54 of file ProgressReporterFactory.h.
Referenced by configure(), and createProgressMediator().