Base class for progress subscribers. More...
#include <wof_api_definitions.h>
Public Member Functions | |
virtual void | update (const std::string &s, double d)=0 |
update More... | |
A progress subscriber class can be derived from ProgressBase to receive progress updates from the WOF library.
A simple terminal progress bar could be derived like this:
|
pure virtual |
This method must be defined in the derived class. It is called whenever the progress changes and thus it should be computationally inexpensive.