Mantid
Loading...
Searching...
No Matches
qt
widgets
common
inc
MantidQtWidgets
Common
ConfiguredAlgorithm.h
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 +
7
#pragma once
8
9
#include "
IConfiguredAlgorithm.h
"
10
#include "
MantidQtWidgets/Common/IAlgorithmRuntimeProps.h
"
11
12
namespace
MantidQt::API
{
13
14
class
EXPORT_OPT_MANTIDQT_COMMON
ConfiguredAlgorithm
:
public
IConfiguredAlgorithm
{
15
public
:
16
ConfiguredAlgorithm
(
Mantid::API::IAlgorithm_sptr
algorithm,
17
std::unique_ptr<MantidQt::API::IAlgorithmRuntimeProps> properties);
18
virtual
~ConfiguredAlgorithm
() =
default
;
19
20
Mantid::API::IAlgorithm_sptr
algorithm()
const override
;
21
const
MantidQt::API::IAlgorithmRuntimeProps
&getAlgorithmRuntimeProps() const noexcept override;
22
23
protected:
24
Mantid
::
API
::IAlgorithm_sptr m_algorithm;
25
26
private:
27
std
::unique_ptr<
IAlgorithmRuntimeProps
> m_properties;
28
};
29
}
// namespace MantidQt::API
EXPORT_OPT_MANTIDQT_COMMON
#define EXPORT_OPT_MANTIDQT_COMMON
Definition:
DllOption.h:15
IAlgorithmRuntimeProps.h
IConfiguredAlgorithm.h
MantidQt::API::ConfiguredAlgorithm
Definition:
ConfiguredAlgorithm.h:14
MantidQt::API::ConfiguredAlgorithm::~ConfiguredAlgorithm
virtual ~ConfiguredAlgorithm()=default
MantidQt::API::IAlgorithmRuntimeProps
Definition:
IAlgorithmRuntimeProps.h:13
MantidQt::API::IConfiguredAlgorithm
Definition:
IConfiguredAlgorithm.h:16
API
Definition:
ChudleyElliotSQE.h:16
MantidQt::API
Definition:
AlgorithmDialog.h:62
Mantid::API::IAlgorithm_sptr
std::shared_ptr< IAlgorithm > IAlgorithm_sptr
shared pointer to Mantid::API::IAlgorithm
Definition:
IAlgorithm_fwd.h:20
Mantid
Helper class which provides the Collimation Length for SANS instruments.
Definition:
AbsorptionCorrection.h:18
std
STL namespace.
Generated on Tue Jan 3 2023 11:58:01 for Mantid by
1.9.5