14 :
AlgorithmObserver(), m_dialogPresenter{nullptr}, m_mainWindowPresenter{presenter} {
56 const std::string &message,
const double estimatedTime,
57 const int progressPrecision) {
#define UNUSED_ARG(x)
Function arguments are sometimes unused in certain implmentations but are required for documentation ...
Observes Algorithm notifications: start,progress,finish,error.
void observeStart(const IAlgorithm_const_sptr &alg)
Connect to algorithm alg and observe its start notification.
void observeFinish(const IAlgorithm_const_sptr &alg)
Connect to algorithm alg and observe its finish notification.
void observeStarting()
Connect to AlgorithmManager and observe its starting notifications.
void observeProgress(const IAlgorithm_const_sptr &alg)
Connect to algorithm alg and observe its progress notification.
void stopObserving(const IAlgorithm_const_sptr &alg)
Disconnect from algorithm alg.
void observeError(const IAlgorithm_const_sptr &alg)
Connect to algorithm alg and observe its error notification.
void stopObservingManager()
Disconnect from the algorithm manager.
IAlgorithm is the interface implemented by the Algorithm base class.
virtual AlgorithmID getAlgorithmID() const =0
Algorithm ID.
std::shared_ptr< IAlgorithm > IAlgorithm_sptr
shared pointer to Mantid::API::IAlgorithm