22 #ifndef CRNPROGRESS_HEADER
23 #define CRNPROGRESS_HEADER
98 virtual void display(
const String &msg)
override;
ConsoleProgress(const String &name, size_t maxcount=100)
Constructor.
Base class for a progress display.
void SetName(const crn::String &nam)
Progress display in console.
void Advance()
Progresses of one step.
A UTF32 character string class.
void SetType(Type typ) noexcept
Sets the type of progress bar.
Progress(const String &nam, size_t maxcount=100)
Constructor.
void SetMaxCount(size_t maxcount, bool reset=true)
Sets the total number of steps.
virtual ~ConsoleProgress() override
Destructor.
void Reset()
Resets the progress to 0.
virtual ~Progress()
Destructor.
CRN_ALIAS_SMART_PTR(ImageBW)
virtual void display(const String &msg)=0
Displays the progress.
Progress & operator=(const Progress &)=delete