Mantid
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Typedefs
CatalogFactory.h File Reference
#include "MantidAPI/DllConfig.h"
#include "MantidKernel/DynamicFactory.h"
#include "MantidKernel/SingletonHolder.h"

Go to the source code of this file.

Classes

class  Mantid::API::CatalogFactoryImpl
 The factory is a singleton that hands out shared pointers to the base Catalog class. More...
 

Namespaces

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

Macros

#define DECLARE_CATALOG(classname)
 

Typedefs

using Mantid::API::CatalogFactory = Mantid::Kernel::SingletonHolder< CatalogFactoryImpl >
 The specialisation of the SingletonHolder class that holds the CatalogFactory. More...
 

Macro Definition Documentation

◆ DECLARE_CATALOG

#define DECLARE_CATALOG (   classname)
Value:
namespace { \
Mantid::Kernel::RegistrationHelper \
register_alg_##classname(((Mantid::API::CatalogFactory::Instance().subscribe<classname>(#classname)), 0)); \
}
static T & Instance()
Return a reference to the Singleton instance, creating it if it does not already exist Creation is do...

Definition at line 18 of file CatalogFactory.h.