TPIE

2362a60
tpie::dummy_progress_indicator Struct Reference

A progress indicator that is conceptually compatible with tpie::progress_indicator_base and tpie::fractional_subindicator. More...

#include <tpie/dummy_progress.h>

Public Member Functions

 dummy_progress_indicator (dummy_fraction_progress &, const char *, const char *, const char *, stream_size_type, const char *crumb=0, bool importance=true, bool enabled=true)
 
void init (stream_size_type range=0)
 Initialize progress indicator. More...
 
void step (stream_size_type)
 Record an increment to the indicator and advance the indicator. More...
 
void step ()
 Record an increment to the indicator and advance the indicator. More...
 
void done ()
 Advance the indicator to the end. More...
 

Detailed Description

A progress indicator that is conceptually compatible with tpie::progress_indicator_base and tpie::fractional_subindicator.

Definition at line 83 of file dummy_progress.h.

Member Function Documentation

void tpie::dummy_progress_indicator::done ( )
inline

Advance the indicator to the end.

Definition at line 118 of file dummy_progress.h.

118 { }
void tpie::dummy_progress_indicator::init ( stream_size_type  range = 0)
inline

Initialize progress indicator.

Parameters
rangeThe number of times step() is going to be called.

Definition at line 101 of file dummy_progress.h.

References tpie::unused().

101  {
102  unused(range);
103  }
void unused(const T &x)
Declare that a variable is unused on purpose.
Definition: util.h:42
void tpie::dummy_progress_indicator::step ( stream_size_type  )
inline

Record an increment to the indicator and advance the indicator.

Definition at line 108 of file dummy_progress.h.

108 { }
void tpie::dummy_progress_indicator::step ( )
inline

Record an increment to the indicator and advance the indicator.

Definition at line 113 of file dummy_progress.h.

113 { }

The documentation for this struct was generated from the following file: