|
openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
|
Display progress as a bar. More...
#include <progress.hpp>
Public Member Functions | |
| progress_bar (T num_next, const char *msg, T bar_start=60, T bar_len=20, char bar_char='=') | |
| Constructor. More... | |
| void | next () |
| increment progress counter by one More... | |
| void | increment (T inc) |
| increment progress counter by a custom value More... | |
| void | finish () |
| finish up progress display More... | |
Public Member Functions inherited from progress< T > | |
| progress (T num_next, const char *msg) | |
| virtual | ~progress () |
Additional Inherited Members | |
Protected Attributes inherited from progress< T > | |
| T | _num_next |
| number of times next will be triggered More... | |
| std::string | _msg |
| message that will be displayed before progress information. More... | |
Display progress as a bar.
| T | Integer type |
Definition at line 140 of file progress.hpp.
|
inline |
Constructor.
| num_next | Estimate of how many times next() will be issued. |
| msg | Message to display together with progress bar. |
| bar_start | Number of characters after which the bar should start. |
| bar_len | Number of characters making up the bar. |
| bar_char | Character used to represent the bar. |
Definition at line 195 of file progress.hpp.
|
inlinevirtual |
|
inlinevirtual |
increment progress counter by a custom value
Implements progress< T >.
Definition at line 217 of file progress.hpp.
|
inlinevirtual |
increment progress counter by one
Implements progress< T >.
Definition at line 210 of file progress.hpp.