mta::StatusBarReporter Class Reference

Use this derived class to report to the status bar. More...

#include <MultiThreadedAlgorithm.h>

Inheritance diagram for mta::StatusBarReporter:

Inheritance graph

List of all members.

Public Member Functions

 StatusBarReporter (std::string baseMessage, const std::string &component, const std::string &key)
virtual ~StatusBarReporter ()
void reportProgress (int percent)
void reportError (const std::string &text)


Detailed Description

Use this derived class to report to the status bar.

Definition at line 523 of file MultiThreadedAlgorithm.h.


Constructor & Destructor Documentation

mta::StatusBarReporter::StatusBarReporter ( std::string  baseMessage,
const std::string &  component,
const std::string &  key 
)

Constructor.

Parameters:
baseMessage The base message used when constructing a message.
component Message log component.
key Message log key.

Definition at line 536 of file MultiThreadedAlgorithm.h.

virtual mta::StatusBarReporter::~StatusBarReporter (  )  [virtual]

Destructor.

Definition at line 545 of file MultiThreadedAlgorithm.h.


Member Function Documentation

void mta::StatusBarReporter::reportProgress ( int  percent  )  [virtual]

Report progress percent.

Parameters:
percent The percent completion.

Implements mta::ProgressReporter.

Definition at line 550 of file MultiThreadedAlgorithm.h.

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

Report an error.

Parameters:
text The error message.

Implements mta::ProgressReporter.

Definition at line 560 of file MultiThreadedAlgorithm.h.


Software Development Kit - Opticks 4.9.0 Build 16218