|
ReUseX
0.0.1
3D Point Cloud Processing for Building Reuse
|
#include <spdmon.hpp>

Public Types | |
| using | clock_t = std::chrono::steady_clock |
| using | timepoint_t = clock_t::time_point |
| using | duration_t = clock_t::duration |
Public Member Functions | |
| BaseProgress (std::string desc="", unsigned int total=0, bool ascii=false) | |
| virtual | ~BaseProgress ()=default |
| void | Restart (std::string desc="", unsigned int total=0) |
| unsigned int | Count () |
| BaseProgress & | operator++ () |
| void | operator+= (unsigned int n) |
| void | SetTotal (unsigned int n) |
| unsigned int | Size () |
| void | FormatBarTo (fmt::memory_buffer &buf, unsigned int width, float frac) |
| void | Update (unsigned int n=1) |
| void | RenderProgress (timepoint_t now, unsigned int width, fmt::memory_buffer &buf) |
| virtual void | ShowProgress (timepoint_t now=clock_t::now())=0 |
Definition at line 95 of file spdmon.hpp.
| using spdmon::BaseProgress::clock_t = std::chrono::steady_clock |
Definition at line 97 of file spdmon.hpp.
| using spdmon::BaseProgress::duration_t = clock_t::duration |
Definition at line 99 of file spdmon.hpp.
| using spdmon::BaseProgress::timepoint_t = clock_t::time_point |
Definition at line 98 of file spdmon.hpp.
|
inlineexplicit |
Definition at line 101 of file spdmon.hpp.
References spdmon::kBarSymsAscii, and spdmon::kBarSymsUnicode.
Referenced by spdmon::LoggerProgress::LoggerProgress(), spdmon::LoggerProgress::LoggerProgress(), operator++(), and spdmon::Progress::Progress().
|
virtualdefault |
|
inline |
Definition at line 117 of file spdmon.hpp.
|
inline |
Definition at line 130 of file spdmon.hpp.
Referenced by RenderProgress().
|
inline |
Definition at line 119 of file spdmon.hpp.
References BaseProgress(), and Update().
|
inline |
Definition at line 124 of file spdmon.hpp.
References Update().
|
inline |
Definition at line 185 of file spdmon.hpp.
References FormatBarTo().
Referenced by spdmon::LoggerProgress::RenderStatusLine(), spdmon::LoggerProgress::ShowProgress(), and spdmon::Progress::ShowProgress().
|
inline |
Definition at line 110 of file spdmon.hpp.
References ShowProgress().
|
inline |
Definition at line 126 of file spdmon.hpp.
|
pure virtual |
Implemented in spdmon::LoggerProgress, and spdmon::Progress.
|
inline |
Definition at line 128 of file spdmon.hpp.
|
inline |
Definition at line 165 of file spdmon.hpp.
References ShowProgress().
Referenced by operator++(), and operator+=().