Mantid
Loading...
Searching...
No Matches
IDetector_fwd.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
9#include <memory>
10
11namespace Mantid {
12namespace Geometry {
18class IDetector;
19
21using IDetector_sptr = std::shared_ptr<IDetector>;
23using IDetector_const_sptr = std::shared_ptr<const IDetector>;
25using IDetector_uptr = std::unique_ptr<IDetector>;
27using IDetector_const_uptr = std::unique_ptr<const IDetector>;
28
29} // namespace Geometry
30} // namespace Mantid
std::shared_ptr< const Mantid::Geometry::IDetector > IDetector_const_sptr
Shared pointer to IDetector (const version)
Definition: IDetector.h:102
std::unique_ptr< IDetector > IDetector_uptr
unique pointer to an IDetector
Definition: IDetector_fwd.h:25
std::shared_ptr< Mantid::Geometry::IDetector > IDetector_sptr
Shared pointer to IDetector.
Definition: IDetector.h:100
std::unique_ptr< const IDetector > IDetector_const_uptr
unique pointer to an IDetector (const version)
Definition: IDetector_fwd.h:27
Helper class which provides the Collimation Length for SANS instruments.