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