Mantid
Loading...
Searching...
No Matches
PeakNoShapeFactory.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2015 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
11namespace Mantid {
12namespace Geometry {
13// Forward declaration
14class PeakShape;
15} // namespace Geometry
16namespace DataObjects {
19class MANTID_DATAOBJECTS_DLL PeakNoShapeFactory : public PeakShapeFactory {
20public:
21 // Factory method
22 Mantid::Geometry::PeakShape *create(const std::string &source) const override;
23 // Set successor. No shape will not delegate.
24 void setSuccessor(std::shared_ptr<const PeakShapeFactory> successorFactory) override;
25
26private:
27};
28
29} // namespace DataObjects
30} // namespace Mantid
PeakNoShapeFactory : Factory method for types of NoShape.
PeakShapeFactory : Factory for creating peak shapes.
PeakShape : Abstract type to describes the shape of a peak.
Definition: PeakShape.h:20
std::unique_ptr< T > create(const P &parent, const IndexArg &indexArg, const HistArg &histArg)
This is the create() method that all the other create() methods call.
Helper class which provides the Collimation Length for SANS instruments.