|
libcrn
3.9.5
A document image processing library
|
Progress display in console. More...
#include <CRNProgress.h>
Inheritance diagram for crn::ConsoleProgress:
Collaboration diagram for crn::ConsoleProgress:Public Member Functions | |
| ConsoleProgress (const String &name, size_t maxcount=100) | |
| Constructor. More... | |
| virtual | ~ConsoleProgress () override |
| Destructor. More... | |
Public Member Functions inherited from crn::Progress | |
| Progress (const String &nam, size_t maxcount=100) | |
| Constructor. More... | |
| Progress (const Progress &)=delete | |
| Progress (Progress &&)=default | |
| Progress & | operator= (const Progress &)=delete |
| Progress & | operator= (Progress &&)=default |
| virtual | ~Progress () |
| Destructor. More... | |
| void | Advance () |
| Progresses of one step. More... | |
| void | SetMaxCount (size_t maxcount, bool reset=true) |
| Sets the total number of steps. More... | |
| void | Reset () |
| Resets the progress to 0. More... | |
| void | SetType (Type typ) noexcept |
| Sets the type of progress bar. More... | |
| void | SetName (const crn::String &nam) |
Protected Member Functions | |
| virtual void | display (const String &msg) override |
| Displays the progress. More... | |
Additional Inherited Members | |
Public Types inherited from crn::Progress | |
| enum | Type { Type::PERCENT = 0, Type::ABSOLUTE = 1 } |
Protected Attributes inherited from crn::Progress | |
| String | name |
| size_t | current |
| size_t | end |
| String | disp |
| Type | type |
Progress display in console.
Progress display in console
Definition at line 88 of file CRNProgress.h.
|
inline |
Constructor.
Definition at line 92 of file CRNProgress.h.
|
inlineoverridevirtual |
Destructor.
Definition at line 94 of file CRNProgress.h.
|
overrideprotectedvirtual |
1.8.6