22 #ifndef UTILIB_PROGRESSBAR_HPP_
23 #define UTILIB_PROGRESSBAR_HPP_
25 #include <UtilLib/include/Timer.hpp>
45 unsigned int expected_count,
46 double updateInterval = 30,
47 std::ostream& os = std::cout);
54 unsigned int operator+=(
unsigned int increment);
71 unsigned int expectedCount_;
72 unsigned int nextTicCount_;
73 unsigned int updateCount_;
78 std::ostream& outputStream_;
82 const float updateInterval_;
95 void displayPercentage();
unsigned int operator+=(unsigned int increment)
a class for reporting the current simulation status. Usage: construct an object of this class with th...
ProgressBar(unsigned int expected_count, double updateInterval=30, std::ostream &os=std::cout)
unsigned int operator++()
Prefix operator.