3#include "../core/string.hpp"
4#include "../core/timeout.hpp"
24 progress(
unsigned int update_freq_micros = 100000) noexcept;
34 void set(std::ostream &stream,
long item,
long max, const zstring &message =
"",
bool force = false) noexcept;
44 void done(std::ostream &stream) noexcept;
A class for easily managing timing.
Definition timeout.hpp:13
void done(std::ostream &stream) noexcept
Mark the progress bar as finished.
void set(std::ostream &stream, long item, long max, const zstring &message="", bool force=false) noexcept
Update the progress bar.
progress(unsigned int update_freq_micros=100000) noexcept
Constructor.
Section containing utility classes.