|
SedSat3 1.1.6
Sediment Source Apportionment Tool - Advanced statistical methods for environmental pollution research
|
Holds a progress reporter for the duration of one analysis. More...
#include <analysishost.h>

Public Member Functions | |
| 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 |
| operator ProgressReporter * () const | |
Private Attributes | |
| AnalysisHost * | host_ |
| ProgressReporter * | reporter_ |
Holds a progress reporter for the duration of one analysis.
Obtains a reporter from the host on construction and returns it on destruction, so that an analysis leaving by any of its return paths still releases it. It converts to ProgressReporter* and forwards operator->, so it can be used wherever a reporter pointer was used before.
Definition at line 79 of file analysishost.h.
|
inline |
Definition at line 82 of file analysishost.h.
References host_, and reporter_.
Referenced by ScopedProgressReporter(), and operator=().
|
inline |
Definition at line 92 of file analysishost.h.
|
delete |
References ScopedProgressReporter().
|
inline |
Definition at line 101 of file analysishost.h.
References reporter_.
|
inline |
Definition at line 103 of file analysishost.h.
References reporter_.
|
inline |
Definition at line 102 of file analysishost.h.
References reporter_.
|
delete |
References ScopedProgressReporter().
|
private |
Definition at line 106 of file analysishost.h.
Referenced by ScopedProgressReporter(), and ~ScopedProgressReporter().
|
private |
Definition at line 107 of file analysishost.h.
Referenced by ScopedProgressReporter(), ~ScopedProgressReporter(), Get(), operator ProgressReporter *(), and operator->().