Mantid
Loading...
Searching...
No Matches
Instrument_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 Instrument;
19
21using Instrument_sptr = std::shared_ptr<Instrument>;
23using Instrument_const_sptr = std::shared_ptr<const Instrument>;
25using Instrument_uptr = std::unique_ptr<Instrument>;
27using Instrument_const_uptr = std::unique_ptr<const Instrument>;
28
29} // namespace Geometry
30} // namespace Mantid
std::shared_ptr< const Instrument > Instrument_const_sptr
Shared pointer to an const instrument object.
std::shared_ptr< Instrument > Instrument_sptr
Shared pointer to an instrument object.
std::unique_ptr< Instrument > Instrument_uptr
unique pointer to an instrument
std::unique_ptr< const Instrument > Instrument_const_uptr
unique pointer to an instrument (const version)
Helper class which provides the Collimation Length for SANS instruments.