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


Public Member Functions | |
| Progress (std::string desc="", unsigned int total=0, bool ascii=false, FILE *file=stderr, unsigned int width=0) | |
| ~Progress () override=default | |
| Progress (const Progress &other)=delete | |
| Progress & | operator= (const Progress &other)=delete |
| Progress (Progress &&other) noexcept=delete | |
| Progress & | operator= (Progress &&other) noexcept=delete |
| void | UpdateTermWidth () |
| void | ShowProgress (timepoint_t now=clock_t::now()) final |
| Public Member Functions inherited from spdmon::BaseProgress | |
| 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) |
Public Attributes | |
| const std::string | kTermMoveUp = "\x1B[A" |
Additional Inherited Members | |
| Public Types inherited from spdmon::BaseProgress | |
| using | clock_t = std::chrono::steady_clock |
| using | timepoint_t = clock_t::time_point |
| using | duration_t = clock_t::duration |
Definition at line 257 of file spdmon.hpp.
|
inlineexplicit |
Definition at line 259 of file spdmon.hpp.
References spdmon::BaseProgress::BaseProgress(), and UpdateTermWidth().
Referenced by operator=(), and operator=().
|
overridedefault |
|
delete |
|
deletenoexcept |
References Progress().
References Progress(), and SPDMON_DECLARE_NON_MOVEABLE.
|
inlinefinalvirtual |
Implements spdmon::BaseProgress.
Definition at line 283 of file spdmon.hpp.
References kTermMoveUp, and spdmon::BaseProgress::RenderProgress().
|
inline |
Definition at line 275 of file spdmon.hpp.
References UpdateTermWidth().
Referenced by Progress(), and UpdateTermWidth().
| const std::string spdmon::Progress::kTermMoveUp = "\x1B[A" |
Definition at line 293 of file spdmon.hpp.
Referenced by ShowProgress().