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 "
MantidAPI/Algorithm.h
"
11
#include "
MantidAPI/IAlgorithmRuntimeProps.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
Mantid::API::IAlgorithmRuntimeProps
&
getAlgorithmRuntimeProps
() const noexcept = 0;
21
virtual
bool
validatePropsPreExec() const noexcept = 0;
22
};
23
24
using
IConfiguredAlgorithm_sptr
=
std
::shared_ptr<
IConfiguredAlgorithm
>;
25
26
}
// namespace MantidQt::API
Algorithm.h
DllOption.h
EXPORT_OPT_MANTIDQT_COMMON
#define EXPORT_OPT_MANTIDQT_COMMON
Definition
DllOption.h:15
IAlgorithmRuntimeProps.h
MantidQt::API::IConfiguredAlgorithm
Definition
IConfiguredAlgorithm.h:16
MantidQt::API::IConfiguredAlgorithm::getAlgorithmRuntimeProps
virtual const Mantid::API::IAlgorithmRuntimeProps & getAlgorithmRuntimeProps() const noexcept=0
MantidQt::API::IConfiguredAlgorithm::algorithm
virtual Mantid::API::IAlgorithm_sptr algorithm() const =0
MantidQt::API::IConfiguredAlgorithm::~IConfiguredAlgorithm
virtual ~IConfiguredAlgorithm()=default
Mantid::API::IAlgorithmRuntimeProps
Definition
IAlgorithmRuntimeProps.h:13
MantidQt::API
Definition
AlgorithmDialog.h:62
MantidQt::API::IConfiguredAlgorithm_sptr
std::shared_ptr< IConfiguredAlgorithm > IConfiguredAlgorithm_sptr
Definition
IConfiguredAlgorithm.h:24
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 by
1.9.8