Mantid
Loading...
Searching...
No Matches
qt
widgets
common
inc
MantidQtWidgets
Common
IConfiguredAlgorithm.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 "
DllOption.h
"
10
#include "
IAlgorithmRuntimeProps.h
"
11
#include "
MantidAPI/Algorithm.h
"
12
13
#include <memory>
14
15
namespace
MantidQt::API
{
16
class
EXPORT_OPT_MANTIDQT_COMMON
IConfiguredAlgorithm
{
17
public
:
18
virtual
~IConfiguredAlgorithm
() =
default
;
19
virtual
Mantid::API::IAlgorithm_sptr
algorithm
()
const
= 0;
20
virtual
const
MantidQt::API::IAlgorithmRuntimeProps
&
getAlgorithmRuntimeProps
() const noexcept = 0;
21
};
22
23
using
IConfiguredAlgorithm_sptr
=
std
::shared_ptr<
IConfiguredAlgorithm
>;
24
25
}
// namespace MantidQt::API
Algorithm.h
DllOption.h
EXPORT_OPT_MANTIDQT_COMMON
#define EXPORT_OPT_MANTIDQT_COMMON
Definition:
DllOption.h:15
IAlgorithmRuntimeProps.h
MantidQt::API::IAlgorithmRuntimeProps
Definition:
IAlgorithmRuntimeProps.h:13
MantidQt::API::IConfiguredAlgorithm
Definition:
IConfiguredAlgorithm.h:16
MantidQt::API::IConfiguredAlgorithm::algorithm
virtual Mantid::API::IAlgorithm_sptr algorithm() const =0
MantidQt::API::IConfiguredAlgorithm::~IConfiguredAlgorithm
virtual ~IConfiguredAlgorithm()=default
MantidQt::API::IConfiguredAlgorithm::getAlgorithmRuntimeProps
virtual const MantidQt::API::IAlgorithmRuntimeProps & getAlgorithmRuntimeProps() const noexcept=0
MantidQt::API
Definition:
AlgorithmDialog.h:62
MantidQt::API::IConfiguredAlgorithm_sptr
std::shared_ptr< IConfiguredAlgorithm > IConfiguredAlgorithm_sptr
Definition:
IConfiguredAlgorithm.h:23
Mantid::API::IAlgorithm_sptr
std::shared_ptr< IAlgorithm > IAlgorithm_sptr
shared pointer to Mantid::API::IAlgorithm
Definition:
IAlgorithm_fwd.h:20
std
STL namespace.
Generated on Tue Jan 3 2023 11:58:01 for Mantid by
1.9.5