Progress Logger that writes the progress using the LOG macro. More...
#include <ored/utilities/progressbar.hpp>
Public Member Functions | |
ProgressLog (const std::string &message, const unsigned int numberOfMessages=100, const oreSeverity logLevel=oreSeverity::debug) | |
void | updateProgress (const unsigned long progress, const unsigned long total, const std::string &detail) override |
ProgressIndicator interface. More... | |
void | reset () override |
Public Member Functions inherited from ProgressIndicator | |
ProgressIndicator () | |
virtual | ~ProgressIndicator () |
virtual void | updateProgress (const unsigned long progress, const unsigned long total, const std::string &detail)=0 |
virtual void | reset ()=0 |
Private Attributes | |
std::string | key_ |
unsigned int | numberOfMessages_ |
oreSeverity | logLevel_ |
unsigned int | messageCounter_ |
Progress Logger that writes the progress using the LOG macro.
Definition at line 103 of file progressbar.hpp.
ProgressLog | ( | const std::string & | message, |
const unsigned int | numberOfMessages = 100 , |
||
const oreSeverity | logLevel = oreSeverity::debug |
||
) |
Definition at line 98 of file progressbar.cpp.
|
overridevirtual |
ProgressIndicator interface.
Implements ProgressIndicator.
Definition at line 101 of file progressbar.cpp.
|
overridevirtual |
Implements ProgressIndicator.
Definition at line 112 of file progressbar.cpp.
|
private |
Definition at line 113 of file progressbar.hpp.
|
private |
Definition at line 114 of file progressbar.hpp.
|
private |
Definition at line 115 of file progressbar.hpp.
|
private |
Definition at line 116 of file progressbar.hpp.