86 virtual void endProgress(
const int current_recursion_depth)
const = 0;
This class represents an actual implementation of a logger.
Definition: ProgressLogger.h:81
virtual void setProgress(const SignedSize value, const int current_recursion_depth) const =0
virtual void startProgress(const SignedSize begin, const SignedSize end, const String &label, const int current_recursion_depth) const =0
virtual SignedSize nextProgress() const =0
static void registerChildren()
Factory requirements.
virtual void endProgress(const int current_recursion_depth) const =0
virtual ~ProgressLoggerImpl()
Definition: ProgressLogger.h:88
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:55
void setProgress(SignedSize value) const
Sets the current progress.
ProgressLogger & operator=(const ProgressLogger &other)
Assignment Operator.
ProgressLogger()
Constructor.
void setLogType(LogType type) const
Sets the progress log that should be used. The default type is NONE!
static String logTypeToFactoryName_(LogType type)
Return the name of the factory product used for this log type.
ProgressLogger(const ProgressLogger &other)
Copy constructor.
void startProgress(SignedSize begin, SignedSize end, const String &label) const
Initializes the progress display.
time_t last_invoke_
Definition: ProgressLogger.h:125
LogType type_
Definition: ProgressLogger.h:124
static int recursion_depth_
Definition: ProgressLogger.h:126
void endProgress() const
Ends the progress display.
virtual ~ProgressLogger()
Destructor.
ProgressLoggerImpl * current_logger_
Definition: ProgressLogger.h:131
LogType getLogType() const
Returns the type of progress log being used.
void nextProgress() const
increment progress by 1 (according to range begin-end)
LogType
Possible log types.
Definition: ProgressLogger.h:71
@ CMD
Command line progress.
Definition: ProgressLogger.h:72
@ GUI
Progress dialog.
Definition: ProgressLogger.h:73
A more convenient string class.
Definition: String.h:61
ptrdiff_t SignedSize
Signed Size type e.g. used as pointer difference.
Definition: Types.h:134
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47