SourceXtractorPlusPlus  0.13
Please provide a description of the project.
Public Member Functions | List of all members
SourceXtractor::ProgressReporter Class Reference

#include <ProgressReporter.h>

Inheritance diagram for SourceXtractor::ProgressReporter:
[legend]
Collaboration diagram for SourceXtractor::ProgressReporter:
[legend]

Public Member Functions

virtual ~ProgressReporter ()=default
 
 ProgressReporter ()=default
 
virtual void handleMessage (const T &message)=0
 
virtual void handleMessage (const T &message)=0
 
- Public Member Functions inherited from SourceXtractor::Observer< T >
virtual ~Observer ()=default
 
virtual void handleMessage (const T &message)=0
 

Detailed Description

This interface is implemented by the concrete progress reporters, so at run time the software can switch the way of informing the user about the progress. Details of what is reported is abstracted via key/value.

Definition at line 43 of file ProgressReporter.h.

Constructor & Destructor Documentation

◆ ~ProgressReporter()

virtual SourceXtractor::ProgressReporter::~ProgressReporter ( )
virtualdefault

◆ ProgressReporter()

SourceXtractor::ProgressReporter::ProgressReporter ( )
default

Member Function Documentation

◆ handleMessage() [1/2]

virtual void SourceXtractor::Observer< T >::handleMessage

To be called when there are updates on the progress

Parameters
infoA dictionary, where the key is the task or subprocess name (i.e. segmentation), and the value a pair, where the first is the number of entities processed, and the second the total, or -1 if unknown.

◆ handleMessage() [2/2]

virtual void SourceXtractor::Observer< T >::handleMessage

To be called when the full processing is done.


The documentation for this class was generated from the following file: