Function mrpt::system::progress

Function Documentation

std::string mrpt::system::progress(const double progressRatio0to1, const std::size_t barLength, bool encloseInSquareBrackets = true)

Build an text incremental progress bar with UNICODE block elements, for example:

50%  => "[████    ]"

See example: system_progress_bar/main.cpp


Note

(New in MRPT 2.3.0)