12#include <Poco/NObserver.h>
43 void cancelRunningAlgorithm();
58 void handleAlgorithmFinishedNotification(
const Poco::AutoPtr<Mantid::API::Algorithm::FinishedNotification> &pNf);
61 void handleAlgorithmProgressNotification(
const Poco::AutoPtr<Mantid::API::Algorithm::ProgressNotification> &pNf);
64 void handleAlgorithmErrorNotification(
const Poco::AutoPtr<Mantid::API::Algorithm::ErrorNotification> &pNf);
#define EXPORT_OPT_MANTIDQT_COMMON
The QtAlgorithmRunner is a QObject that encapsulates methods for running an algorithm asynchronously ...
void algorithmProgress(double p, const std::string &msg)
Signal emitted when the algorithm reports progress.
QtAlgorithmRunner(const QtAlgorithmRunner &)=delete
Poco::NObserver< QtAlgorithmRunner, Mantid::API::Algorithm::FinishedNotification > m_finishedObserver
Mantid::API::IAlgorithm_sptr m_asyncAlg
Reference to the algorithm executing asynchronously.
Poco::ActiveResult< bool > * m_asyncResult
For the asynchronous call in dynamic rebinning.
Poco::NObserver< QtAlgorithmRunner, Mantid::API::Algorithm::ErrorNotification > m_errorObserver
QtAlgorithmRunner & operator=(const QtAlgorithmRunner &)=delete
Poco::NObserver< QtAlgorithmRunner, Mantid::API::Algorithm::ProgressNotification > m_progressObserver
void algorithmComplete(bool error)
Signal emitted when the algorithm has completed execution/encountered an error.
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...
std::shared_ptr< IAlgorithm > IAlgorithm_sptr
shared pointer to Mantid::API::IAlgorithm