mta::ProgressReporter Class Reference

Base progress reporting class. More...

#include <MultiThreadedAlgorithm.h>

Inheritance diagram for mta::ProgressReporter:

Inheritance graph

List of all members.

Public Member Functions

virtual void reportProgress (int percent)=0
virtual void reportError (const std::string &text)=0


Detailed Description

Base progress reporting class.

Definition at line 460 of file MultiThreadedAlgorithm.h.


Member Function Documentation

virtual void mta::ProgressReporter::reportProgress ( int  percent  )  [pure virtual]

Report progress percent.

Parameters:
percent The percent completion.

Implemented in mta::ProgressObjectReporter, mta::StatusBarReporter, and mta::MultiPhaseProgressReporter.

virtual void mta::ProgressReporter::reportError ( const std::string &  text  )  [pure virtual]

Report an error.

Parameters:
text The error message.

Implemented in mta::ProgressObjectReporter, mta::StatusBarReporter, and mta::MultiPhaseProgressReporter.


Software Development Kit - Opticks 4.9.0 Build 16218