15 const double estimatedTime,
const int progressPrecision) {
18 return callMethod<void>(
getSelf(),
"progressHandle", p, msg, estimatedTime, progressPrecision);
26 return callMethod<void>(
getSelf(),
"startingHandle", alg);
35 return callMethod<void>(
getSelf(),
"finishHandle");
44 return callMethod<void>(
getSelf(),
"errorHandle", what);
std::unique_ptr< ConceptT > m_self
#define UNUSED_ARG(x)
Function arguments are sometimes unused in certain implmentations but are required for documentation ...
Observes Algorithm notifications: start,progress,finish,error.
IAlgorithm is the interface implemented by the Algorithm base class.
void progressHandle(const API::IAlgorithm *alg, double p, const std::string &msg, const double estimatedTime, const int progressPrecision) override
void errorHandle(const API::IAlgorithm *alg, const std::string &what) override
void startingHandle(API::IAlgorithm_sptr alg) override
void finishHandle(const API::IAlgorithm *alg) override
AlgorithmObserverAdapter(PyObject *self)
PyObject * getSelf() const
Return the PyObject that owns this wrapper, i.e. self.
std::shared_ptr< IAlgorithm > IAlgorithm_sptr
shared pointer to Mantid::API::IAlgorithm
Defines an exception for an undefined attribute.