12#include <Poco/NObserver.h>
39 virtual void cancelRunningAlgorithm();
54 void handleAlgorithmFinishedNotification(
const Poco::AutoPtr<Mantid::API::Algorithm::FinishedNotification> &pNf);
57 void handleAlgorithmProgressNotification(
const Poco::AutoPtr<Mantid::API::Algorithm::ProgressNotification> &pNf);
60 void handleAlgorithmErrorNotification(
const Poco::AutoPtr<Mantid::API::Algorithm::ErrorNotification> &pNf);
#define EXPORT_OPT_MANTIDQT_COMMON
The AlgorithmRunner is a QObject that encapsulates methods for running an algorithm asynchronously (i...
void algorithmComplete(bool error)
Signal emitted when the algorithm has completed execution/encountered an error.
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< AlgorithmRunner, Mantid::API::Algorithm::FinishedNotification > m_finishedObserver
Poco::NObserver< AlgorithmRunner, Mantid::API::Algorithm::ProgressNotification > m_progressObserver
Poco::NObserver< AlgorithmRunner, Mantid::API::Algorithm::ErrorNotification > m_errorObserver
void algorithmProgress(double p, const std::string &msg)
Signal emitted when the algorithm reports progress.
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