#include <progress.h>
Public Member Functions | |
| Progress (unsigned long total=100) | |
| void | setTotal (unsigned long total) |
| void | set (unsigned long current) |
| void | update (unsigned long current) |
| void | update () |
| void | increment () |
| void | clear () |
| utils::Progress::Progress | ( | unsigned long | total = 100 | ) | [inline] |
| void utils::Progress::clear | ( | ) | [inline] |
Removes the progress bar from the output
| void utils::Progress::increment | ( | ) | [inline] |
Updates the progress bar and increments it by one
| void utils::Progress::set | ( | unsigned long | current | ) | [inline] |
Set the current value of the progress bar without updating the screen
| void utils::Progress::setTotal | ( | unsigned long | total | ) | [inline] |
Set a new total value Does not update the progress bar
| void utils::Progress::update | ( | unsigned long | current | ) | [inline] |
Update the progress bar
If current >= total a newline is printed and it is no longer possible to update screen
| void utils::Progress::update | ( | ) | [inline] |
Updates the progress bar but does not change the current value
1.7.6.1