\brief Displays a text progress bar in the command-line.
By making use of the carriage return character it is possible to generate a progress bar, by continuously overwriting the same line.\n The progress bar appear as:\n \par \b example \n Your Progress Message, 43% [========
\brief Initialize the TProgressBar object.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(TProgressBar) | :: | this | ||||
character(len=*), | intent(in), | optional | :: | msg |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(TProgressBar) | :: | this |
\brief Run the TProgressBar object.
@param[in] pct Real value providing a the % of progress. @param[in] Ix Integer number providing the number of digits to be used in the %. [\b OPTIONAL ,\b DEFAULT = 2] @param[in] msg String containing message to be displayed with the progressbar.[\b OPTIONAL ,\b DEFAULT = none/ provided by the initialisation]
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(TProgressBar) | :: | this | ||||
real | :: | pct | ||||
integer, | intent(in), | optional | :: | Ix | ||
character(len=*), | intent(in), | optional | :: | msg |