SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SourceXtractor::ProgressReporterFactory Class Reference

#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< ProgressMediatorcreateProgressMediator (void) const

Private Attributes

std::chrono::steady_clock::duration m_min_interval
bool m_disable_progress_bar

Detailed Description

Abstracts away the creation of concrete ProgressReporters

Note
This class is not a Configurable because it needs to be started before the rest of the configurables. Otherwise, their logging can not be intercepted.

Definition at line 41 of file ProgressReporterFactory.h.

Constructor & Destructor Documentation

◆ ~ProgressReporterFactory()

virtual SourceXtractor::ProgressReporterFactory::~ProgressReporterFactory ( )
virtualdefault

◆ ProgressReporterFactory()

SourceXtractor::ProgressReporterFactory::ProgressReporterFactory ( )

Definition at line 28 of file ProgressReporterFactory.cpp.

References m_disable_progress_bar, and m_min_interval.

Member Function Documentation

◆ addOptions()

void SourceXtractor::ProgressReporterFactory::addOptions ( boost::program_options::options_description & options) const

◆ configure()

void SourceXtractor::ProgressReporterFactory::configure ( const std::map< std::string, boost::program_options::variable_value > & args)

◆ createProgressMediator()

std::shared_ptr< ProgressMediator > SourceXtractor::ProgressReporterFactory::createProgressMediator ( void ) const

Member Data Documentation

◆ m_disable_progress_bar

bool SourceXtractor::ProgressReporterFactory::m_disable_progress_bar
private

◆ m_min_interval

std::chrono::steady_clock::duration SourceXtractor::ProgressReporterFactory::m_min_interval
private

The documentation for this class was generated from the following files: