SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SourceXtractor::ProgressReporter Class Reference

#include <ProgressReporter.h>

Inheritance diagram for SourceXtractor::ProgressReporter:
Inheritance graph
[legend]
Collaboration diagram for SourceXtractor::ProgressReporter:
Collaboration graph
[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
 

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 ( const T & message)
virtual

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.

Implements SourceXtractor::Observer< T >.

◆ handleMessage() [2/2]

virtual void SourceXtractor::Observer< T >::handleMessage ( const T & message)
virtual

To be called when the full processing is done.

Implements SourceXtractor::Observer< T >.


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