CepGen 1.2.5
Central exclusive processes event generator
|
A simple progress indicator. More...
#include <CepGen/Utils/ProgressBar.h>
Public Member Functions | |
ProgressBar (size_t tot, size_t freq=10) | |
Progress bar constructor. | |
~ProgressBar () | |
void | update (size_t iter) const |
Broadcast the current progress to the bar. | |
Definition at line 28 of file ProgressBar.h.
|
explicit |
[in] | tot | Total number of steps before completion |
[in] | freq | Frequency at which the tick is refreshed |
Definition at line 29 of file ProgressBar.cpp.
~ProgressBar | ( | ) |
Definition at line 37 of file ProgressBar.cpp.
void update | ( | size_t | iter | ) | const |
[in] | iter | Current iteration |
Definition at line 43 of file ProgressBar.cpp.