Mantid
Loading...
Searching...
No Matches
ConfiguredAlgorithm.cpp
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2021 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
11namespace MantidQt::API {
12
14 std::unique_ptr<MantidQt::API::IAlgorithmRuntimeProps> properties)
15 : m_algorithm(std::move(algorithm)), m_properties(std::move(properties)) {}
16
18
20 return *m_properties;
21}
22
23} // namespace MantidQt::API
Mantid::API::IAlgorithm_sptr algorithm() const override
Mantid::API::IAlgorithm_sptr m_algorithm
ConfiguredAlgorithm(Mantid::API::IAlgorithm_sptr algorithm, std::unique_ptr< MantidQt::API::IAlgorithmRuntimeProps > properties)
const MantidQt::API::IAlgorithmRuntimeProps & getAlgorithmRuntimeProps() const noexcept override
std::unique_ptr< IAlgorithmRuntimeProps > m_properties
std::shared_ptr< IAlgorithm > IAlgorithm_sptr
shared pointer to Mantid::API::IAlgorithm
STL namespace.