Logo
Reference manual - version ored_version
ProgressLog Class Reference

Progress Logger that writes the progress using the LOG macro. More...

#include <ored/utilities/progressbar.hpp>

Inheritance diagram for ProgressLog:

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.
void reset () override

Detailed Description

Progress Logger that writes the progress using the LOG macro.

Member Function Documentation

◆ updateProgress()

void updateProgress ( const unsigned long progress,
const unsigned long total,
const std::string & detail )
overridevirtual

ProgressIndicator interface.

Implements ProgressIndicator.

◆ reset()

void reset ( )
overridevirtual

Implements ProgressIndicator.