19 #ifndef __TPIE_DUMMY_PROGRESS__
20 #define __TPIE_DUMMY_PROGRESS__
34 struct dummy_progress_indicator;
68 inline void init(stream_size_type range = 0) {
90 const char * ,
const char * ,
const char * ,
91 stream_size_type ,
const char *crumb=0,
92 bool importance=
true,
bool enabled=
true) {
101 inline void init(stream_size_type range = 0) {
108 inline void step(stream_size_type) { }
126 template <
bool use_progress>
141 #endif //__TPIE_DUMMY_PROGRESS__
void init(stream_size_type range=0)
Initialize progress indicator.
void done()
Advance the indicator to the end.
The base class for indicating the progress of some task.
void unused(const T &x)
Declare that a variable is unused on purpose.
Fractional progress reporter.
dummy_fraction_progress & id()
Return this progress indicator's unique id.
void done()
Advance the indicator to the end.
A progress indicator that is conceptually compatible with tpie::progress_indicator_base and tpie::fra...
dummy_fraction_progress(dummy_progress_indicator *)
Dummy constructor that does nothing.
Fractional progress reporting.
void init(stream_size_type range=0)
Initialize progress indicator.
void step(stream_size_type)
Record an increment to the indicator and advance the indicator.
void step()
Record an increment to the indicator and advance the indicator.
dummy_fraction_progress(tpie::progress_indicator_base *)
Dummy constructor that does nothing.
For applications where you wish to disable progress indicators via a template parameter, refer to progress_types members names sub, fp and base.
A fractional progress indicator that is conceptually compatible with tpie::fractional_progress.
Subindicator for fractional progress reporting.