Assignments Assignments

Public Member Functions | Private Attributes | List of all members
Util::ProgressBar Class Reference

`#include <ProgressBar.h>`

## Public Member Functions
| ProgressBar (int bins, size_t total, const char *header)
| ~ProgressBar (void)
void | update (bool output=true)
void | print (void)

## Private Attributes
int | _bins
size_t | _total
std::atomic< size_t > | _idx
const char * | _header
std::chrono::high_resolution_clock::time_point | _startTime
double | _previousTime

## Constructor & Destructor Documentation

## ◆ ProgressBar()

ProgressBar::ProgressBar | ( | int | bins,
|  | size_t | total,
|  | const char * | header )
| inline

## ◆ ~ProgressBar()

ProgressBar::~ProgressBar | ( | void |  | ) |
| inline

## Member Function Documentation

## ◆ print()

void ProgressBar::print | ( | void |  | ) |
| inline

## ◆ update()

void ProgressBar::update | ( | bool | output = true | ) |
| inline

## Member Data Documentation

## ◆ _bins

int Util::ProgressBar::_bins
| private

## ◆ _header

const char* Util::ProgressBar::_header
| private

## ◆ _idx

std::atomic< size_t > Util::ProgressBar::_idx
| private

## ◆ _previousTime

double Util::ProgressBar::_previousTime
| private

## ◆ _startTime

std::chrono::high_resolution_clock::time_point Util::ProgressBar::_startTime
| private

## ◆ _total

size_t Util::ProgressBar::_total
| private

The documentation for this class was generated from the following files:

- Assignments/Util/ProgressBar.h
- Assignments/Util/ProgressBar.inl