Mantid
Loading...
Searching...
No Matches
MoveInstrumentComponent.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2007 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
10#include "MantidDataHandling/DllConfig.h"
12
13namespace Mantid {
14
15namespace DataHandling {
46class MANTID_DATAHANDLING_DLL MoveInstrumentComponent : public API::DistributedAlgorithm {
47public:
51 const std::string name() const override { return "MoveInstrumentComponent"; };
53 const std::string summary() const override { return "Moves an instrument component to a new position."; }
54
56 int version() const override { return 1; };
57 const std::vector<std::string> seeAlso() const override {
58 return {"RotateInstrumentComponent", "SetInstrumentParameter"};
59 }
61 const std::string category() const override { return "DataHandling\\Instrument"; }
62
63private:
65 void init() override;
66
68 void exec() override;
69};
70
71} // namespace DataHandling
72} // namespace Mantid
Base class for algorithms that treat all spectra independently, i.e., we can trivially parallelize ov...
DataHandling/MoveInstrumentComponent.h.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
int version() const override
Algorithm's version for identification overriding a virtual method.
const std::string summary() const override
Summary of algorithms purpose.
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
Helper class which provides the Collimation Length for SANS instruments.