Mantid
Loading...
Searching...
No Matches
Framework
API
src
ScriptRepositoryFactory.cpp
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2018 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
#include "
MantidAPI/ScriptRepositoryFactory.h
"
8
#include "
MantidAPI/ScriptRepository.h
"
9
#include "
MantidKernel/LibraryManager.h
"
10
#include "
MantidKernel/StringTokenizer.h
"
11
#include <sstream>
12
13
namespace
Mantid::API
{
14
15
ScriptRepositoryFactoryImpl::ScriptRepositoryFactoryImpl
() : Kernel::
DynamicFactory
<
ScriptRepository
>() {
16
// we need to make sure the library manager has been loaded before we
17
// are constructed so that it is destroyed after us and thus does
18
// not close any loaded DLLs with loaded algorithms in them
19
Mantid::Kernel::LibraryManager::Instance
();
20
}
21
22
}
// namespace Mantid::API
LibraryManager.h
ScriptRepositoryFactory.h
ScriptRepository.h
StringTokenizer.h
Mantid::API::ScriptRepositoryFactoryImpl::ScriptRepositoryFactoryImpl
ScriptRepositoryFactoryImpl()
Private Constructor for singleton class.
Definition:
ScriptRepositoryFactory.cpp:15
Mantid::API::ScriptRepository
Definition:
ScriptRepository.h:291
Mantid::Kernel::DynamicFactory
The dynamic factory is a base dynamic factory for serving up objects in response to requests from oth...
Definition:
DynamicFactory.h:47
Mantid::Kernel::SingletonHolder::Instance
static T & Instance()
Return a reference to the Singleton instance, creating it if it does not already exist Creation is do...
Definition:
SingletonHolder.h:91
Mantid::API
Definition:
AbsorptionCorrection.h:20
Generated on Tue Jan 3 2023 11:57:23 for Mantid by
1.9.5