|
|
| progress_bar (std::shared_ptr< spdlog::logger > logger, std::string_view desc, std::size_t total, bool ascii=false) |
|
| progress_bar (const progress_bar &)=delete |
|
progress_bar & | operator= (const progress_bar &)=delete |
|
progress_bar & | operator++ () |
|
void | operator+= (std::size_t delta) |
|
void | update (std::size_t delta=1) |
| | Increment the counter by delta and repaint if the minimum interval has elapsed.
|
| std::string | render (int width) const |
◆ render()
| std::string dsf::utility::progress_bar::render |
( |
int | width | ) |
const |
|
inlinenodiscard |
Render the bar into a fixed-width string. Format: "desc: 75% |███████-------| n/total [HH:MM:SS / HH:MM:SS]\n"
The documentation for this class was generated from the following file:
- src/dsf/utility/progress_bar.hpp