Stimfit
0.13.15
|
ProgressInfo class. More...
#include <stfio.h>
Public Member Functions | |
ProgressInfo (const std::string &title, const std::string &message, int maximum, bool verbose) | |
Constructor. | |
virtual bool | Update (int value, const std::string &newmsg="", bool *skip=NULL)=0 |
Updates the progress info. |
ProgressInfo class.
Abstract class to be used as an interface for the file io read/write functions Can be a GUI Dialog or stdout messages
stfio::ProgressInfo::ProgressInfo | ( | const std::string & | title, |
const std::string & | message, | ||
int | maximum, | ||
bool | verbose | ||
) | [inline] |
virtual bool stfio::ProgressInfo::Update | ( | int | value, |
const std::string & | newmsg = "" , |
||
bool * | skip = NULL |
||
) | [pure virtual] |
Updates the progress info.
value | New value of the progress meter |
newmsg | New message for the info text |
skip | This is set to true if the user has chosen to skip the operation |
Implemented in stfio::StdoutProgressInfo, and stf::wxProgressInfo.