28#ifndef PROGRESS_BAR_INCLUDED
29#define PROGRESS_BAR_INCLUDED
40 std::atomic< size_t >
_idx;
42 std::chrono::high_resolution_clock::time_point
_startTime;
45 ProgressBar(
int bins ,
size_t total ,
const char* header );
47 void update(
bool output=
true );
Definition: ProgressBar.h:37
void print(void)
Definition: ProgressBar.inl:47
std::atomic< size_t > _idx
Definition: ProgressBar.h:40
double _previousTime
Definition: ProgressBar.h:43
size_t _total
Definition: ProgressBar.h:39
const char * _header
Definition: ProgressBar.h:41
int _bins
Definition: ProgressBar.h:38
void update(bool output=true)
Definition: ProgressBar.inl:42
~ProgressBar(void)
Definition: ProgressBar.inl:65
ProgressBar(int bins, size_t total, const char *header)
Definition: ProgressBar.inl:32
std::chrono::high_resolution_clock::time_point _startTime
Definition: ProgressBar.h:42