10#include <boost/python/wrapper.hpp>
13namespace PythonInterface {
27 void progressHandle(
const API::IAlgorithm *alg,
double p,
const std::string &msg,
const double estimatedTime,
28 const int progressPrecision)
override;
31 void errorHandle(
const API::IAlgorithm *alg,
const std::string &what)
override;
std::unique_ptr< ConceptT > m_self
#define DLLExport
Definitions of the DLLImport compiler directives for MSVC.
Observes Algorithm notifications: start,progress,finish,error.
IAlgorithm is the interface implemented by the Algorithm base class.
A wrapper class helping to export AlgorithmObserver to python.
PyObject * m_self
Value of "self" used by python to refer to an instance of this class.
AlgorithmObserverAdapter(const AlgorithmObserverAdapter &)=delete
AlgorithmObserverAdapter & operator=(const AlgorithmObserverAdapter &)=delete
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
Helper class which provides the Collimation Length for SANS instruments.