Mantid
Loading...
Searching...
No Matches
AlgorithmFactoryObserver.cpp
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2019 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
10
11#include <boost/python/bases.hpp>
12#include <boost/python/class.hpp>
13
14using namespace Mantid::API;
15using namespace Mantid::PythonInterface;
16using namespace boost::python;
17
19 boost::python::class_<AlgorithmFactoryObserver, bases<>, AlgorithmFactoryObserverAdapter, boost::noncopyable>(
20 "AlgorithmFactoryObserver", "Observes AlgorithmFactory notifications: all only")
21 .def("observeUpdate", &AlgorithmFactoryObserverAdapter::observeUpdate, (arg("self"), arg("on")));
22}
void export_AlgorithmFactoryObserver()
A wrapper class helping to export AnalysisDataServiceObserver to python.