OpenMS
ProgressLogger::ProgressLoggerImpl Class Referenceabstract

This class represents an actual implementation of a logger. More...

#include <OpenMS/CONCEPT/ProgressLogger.h>

Inheritance diagram for ProgressLogger::ProgressLoggerImpl:
[legend]

Public Member Functions

virtual void startProgress (const SignedSize begin, const SignedSize end, const String &label, const int current_recursion_depth) const =0
 
virtual void setProgress (const SignedSize value, const int current_recursion_depth) const =0
 
virtual SignedSize nextProgress () const =0
 
virtual void endProgress (const int current_recursion_depth, UInt64 bytes_processed=0) const =0
 
virtual ~ProgressLoggerImpl ()
 

Static Public Member Functions

static void registerChildren ()
 Factory requirements. More...
 

Detailed Description

This class represents an actual implementation of a logger.

Constructor & Destructor Documentation

◆ ~ProgressLoggerImpl()

virtual ~ProgressLoggerImpl ( )
inlinevirtual

Member Function Documentation

◆ endProgress()

virtual void endProgress ( const int  current_recursion_depth,
UInt64  bytes_processed = 0 
) const
pure virtual

finalize; usually stops the clock and prints a summary; You may optionally pass the number of bytes read/written to get a MB/sec estimate

Implemented in GUIProgressLoggerImpl.

◆ nextProgress()

virtual SignedSize nextProgress ( ) const
pure virtual

Implemented in GUIProgressLoggerImpl.

◆ registerChildren()

static void registerChildren ( )
static

Factory requirements.

◆ setProgress()

virtual void setProgress ( const SignedSize  value,
const int  current_recursion_depth 
) const
pure virtual

Implemented in GUIProgressLoggerImpl.

◆ startProgress()

virtual void startProgress ( const SignedSize  begin,
const SignedSize  end,
const String label,
const int  current_recursion_depth 
) const
pure virtual

Implemented in GUIProgressLoggerImpl.