|
Joutsen v0.5.0+18-g5fdf104
|
A class that writes progress as a list separated by three dots to the console. More...
Public Member Functions | |
| ConsoleProgressListPainter () | |
| Creates anew instance. | |
| override void | ProgressUpdate (double completed, double total, double progress) |
| Writes the updated progress to the console. | |
| override void | Clear () |
| Resets the painter in order to restart updates to the console. | |
Public Member Functions inherited from Joutsen.ConsoleProgressPainter | |
| ConsoleProgressPainter (ushort maxWritesPerSecond=5) | |
| Creates a new instance with a certain maximum of console updates a second. | |
| virtual void | DescriptionUpdate (String description) |
| Writes the updated description to the console. | |
| void | Paint () |
| Updates the console output. | |
Protected Member Functions | |
| override void | Paint (double completed, double total, double progress, string description) |
Protected Member Functions inherited from Joutsen.ConsoleProgressPainter | |
| void | Paint (double completed, double total, double progress, string description) |
| In a derived class handles the actual writing to the console. | |
Additional Inherited Members | |
Protected Attributes inherited from Joutsen.ConsoleProgressPainter | |
| String | description |
| The description to write. | |
| double | progress |
| The progress value to write. | |
| double | completed |
| double | total |
A class that writes progress as a list separated by three dots to the console.
| Joutsen.ConsoleProgressListPainter.ConsoleProgressListPainter | ( | ) |
Creates anew instance.
|
virtual |
Resets the painter in order to restart updates to the console.
Reimplemented from Joutsen.ConsoleProgressPainter.
|
protected |
|
virtual |
Writes the updated progress to the console.
Reimplemented from Joutsen.ConsoleProgressPainter.