|
DOLFIN
DOLFIN C++ interface
|
#include <Progress.h>
Public Member Functions | |
| Progress (std::string title, unsigned int n) | |
| Progress (std::string title) | |
| ~Progress () | |
| Destructor. | |
| void | operator= (double p) |
| void | operator++ (int) |
| Increment progress. | |
This class provides a simple way to create and update progress bars during a computation.
A progress bar may be used either in an iteration with a known number of steps:
or in an iteration with an unknown number of steps:
| Progress::Progress | ( | std::string | title, |
| unsigned int | n | ||
| ) |
Create progress bar with a known number of steps
| title | (std::string) The title. |
| n | (unsigned int) Number of steps. |
| Progress::Progress | ( | std::string | title | ) |
Create progress bar with an unknown number of steps
| title | (std::string) The title. |
| void Progress::operator= | ( | double | p | ) |
Set current position
| p | (double) The position. |
1.8.11