#include <progress_bar.h>
Definition at line 5 of file progress_bar.h.
| ProgressBar::ProgressBar |
( |
| ) |
|
|
inline |
| ProgressBar::ProgressBar |
( |
int |
total, |
|
|
int |
barwidth |
|
) |
| |
|
inline |
| ProgressBar::~ProgressBar |
( |
| ) |
|
|
inline |
| void ProgressBar::finished |
( |
| ) |
|
|
inline |
| void ProgressBar::init |
( |
int |
total, |
|
|
int |
barwidth |
|
) |
| |
|
inline |
| std::string ProgressBar::ms_to_stamp |
( |
int |
ms | ) |
|
|
inlineprivate |
| void ProgressBar::print |
( |
int |
completed | ) |
|
|
inline |
| void ProgressBar::set_theme_braille |
( |
| ) |
|
|
inline |
| void ProgressBar::set_theme_braille_spin |
( |
| ) |
|
|
inline |
| void ProgressBar::set_theme_circle |
( |
| ) |
|
|
inline |
| void ProgressBar::set_theme_line |
( |
| ) |
|
|
inline |
| std::vector<const char*> ProgressBar::bars_ = {" ", "▏", "▎", "▍", "▋", "▋", "▊", "▉", "▉", "█"} |
|
private |
| int ProgressBar::barwidth_ |
|
private |
| bool ProgressBar::initialized_ |
|
private |
| int ProgressBar::last_completed_ |
|
private |
| std::chrono::system_clock::time_point ProgressBar::last_print_time_ |
|
private |
| std::chrono::system_clock::time_point ProgressBar::start_time_ |
|
private |
The documentation for this class was generated from the following file: