Mantid
Loading...
Searching...
No Matches
Progress.cpp
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 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 +
9
10#include <boost/python/class.hpp>
11#include <boost/python/init.hpp>
12
16using namespace boost::python;
17
19 class_<Progress, bases<ProgressBase>, boost::noncopyable>(
20 "Progress",
21 "Make a Progress object that is attached to the given algorithm, "
22 "with progress between fractions [start,end] notifying a total of "
23 "nreports times",
24 init<Algorithm *, double, double, size_t>((arg("alg"), arg("start"), arg("end"), arg("nreports"))));
25}
void export_Progress()
Definition: Progress.cpp:18
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Helper class for reporting progress from algorithms.
Definition: Progress.h:25