Mantid
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
SingletonHolder.h File Reference
#include "MantidKernel/DllConfig.h"
#include <cassert>
#include <cstdlib>
#include <functional>
#include <mutex>

Go to the source code of this file.

Classes

struct  Mantid::Kernel::CreateUsingNew< T >
 Policy class controlling creation of the singleton Implementation classes should mark their default constructors private and insert a friend declaration for this class, e.g.: More...
 
class  Mantid::Kernel::SingletonHolder< T >
 Manage the lifetime of a class intended to be a singleton. More...
 

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::Kernel
 

Typedefs

using Mantid::Kernel::SingletonDeleterFn = std::function< void()>
 Type of deleter function. More...
 

Functions

MANTID_KERNEL_DLL void Mantid::Kernel::deleteOnExit (const SingletonDeleterFn &func)
 Register the given deleter function to be called at exit. More...