55 bool extra_label_and_progressbar =
false) = 0;
80 int number_of_panels = 1,
81 bool extra_label_and_progressbar =
false)
83 reporter_(host ? host->CreateProgressReporter(number_of_panels,
84 extra_label_and_progressbar)
Abstract environment that an analysis runs inside.
virtual ~AnalysisHost()=default
virtual void ShowWarning(const std::string &message)=0
Reports a condition that prevented an analysis from running.
virtual void DisposeProgressReporter(ProgressReporter *reporter)=0
Releases a reporter previously obtained from this host.
virtual ProgressReporter * CreateProgressReporter(int number_of_panels=1, bool extra_label_and_progressbar=false)=0
Creates a progress reporter for a long-running analysis.
Abstract sink for progress information produced by a running analysis.
Holds a progress reporter for the duration of one analysis.
ScopedProgressReporter(AnalysisHost *host, int number_of_panels=1, bool extra_label_and_progressbar=false)
~ScopedProgressReporter()
ScopedProgressReporter(const ScopedProgressReporter &)=delete
ScopedProgressReporter & operator=(const ScopedProgressReporter &)=delete
ProgressReporter * Get() const
ProgressReporter * operator->() const
ProgressReporter * reporter_