Mantid
Loading...
Searching...
No Matches
WorkflowAlgorithmRunner.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2016 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
11#include "MantidAlgorithms/DllConfig.h"
12
13namespace Mantid {
14namespace Algorithms {
15
18class MANTID_ALGORITHMS_DLL WorkflowAlgorithmRunner final : public API::Algorithm {
19public:
21 const std::string name() const override { return "WorkflowAlgorithmRunner"; }
23 const std::string summary() const override {
24 return "Manages dependency resolution, input/output mapping and running of "
25 "algorithms.";
26 }
27
29 int version() const override { return 1; }
31 const std::string category() const override { return "Utility"; }
32
33private:
35 void init() override;
37 void exec() override;
38
40 template <typename QUEUE, typename MAP>
41 void configureRow(API::ITableWorkspace_sptr setupTable, API::ITableWorkspace_sptr propertyTable,
42 const size_t currentRow, QUEUE &queue, const MAP &ioMap,
43 std::shared_ptr<std::unordered_set<size_t>> rowsBeingQueued = nullptr) const;
44};
45
46} // namespace Algorithms
47} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Controls the data flow and the order of algorithm execution.
const std::string name() const override
Algorithm's name.
int version() const override
Algorithm's version.
const std::string category() const override
Algorithm's category for identification.
const std::string summary() const override
Summary of algorithms purpose.
std::shared_ptr< ITableWorkspace > ITableWorkspace_sptr
shared pointer to Mantid::API::ITableWorkspace
Helper class which provides the Collimation Length for SANS instruments.