Mantid
Loading...
Searching...
No Matches
Framework
PythonInterface
mantid
api
src
Exports
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 +
7
#include "
MantidAPI/AlgorithmFactoryObserver.h
"
8
#include "
MantidPythonInterface/api/Algorithms/AlgorithmFactoryObserverAdapter.h
"
9
#include "
MantidPythonInterface/core/GetPointer.h
"
10
11
#include <boost/python/bases.hpp>
12
#include <boost/python/class.hpp>
13
14
using namespace
Mantid::API
;
15
using namespace
Mantid::PythonInterface
;
16
using namespace
boost::python
;
17
18
void
export_AlgorithmFactoryObserver
() {
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
}
AlgorithmFactoryObserverAdapter.h
AlgorithmFactoryObserver.h
GetPointer.h
export_AlgorithmFactoryObserver
void export_AlgorithmFactoryObserver()
Definition:
AlgorithmFactoryObserver.cpp:18
Mantid::PythonInterface::AlgorithmFactoryObserverAdapter
A wrapper class helping to export AnalysisDataServiceObserver to python.
Definition:
AlgorithmFactoryObserverAdapter.h:22
Mantid::API
Definition:
AbsorptionCorrection.h:20
Mantid::PythonInterface
Definition:
CallMethod.h:17
boost::python
Definition:
NDArray.h:50
Generated on Tue Jan 3 2023 11:57:22 for Mantid by
1.9.5