Mantid
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Typedefs
PreviewManager.h File Reference
#include "MantidAPI/DllConfig.h"
#include "MantidAPI/IPreview.h"
#include "MantidKernel/RegistrationHelper.h"
#include "MantidKernel/SingletonHolder.h"
#include <map>
#include <type_traits>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  Mantid::API::PreviewManagerImpl
 PreviewManager : Manages the raw data previews. More...
 

Namespaces

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

Macros

#define DECLARE_PREVIEW(classname)
 

Typedefs

using Mantid::API::PreviewManager = Mantid::Kernel::SingletonHolder< PreviewManagerImpl >
 
using Mantid::API::PreviewRegister = std::map< std::string, std::map< std::string, std::map< std::string, IPreview_uptr > > >
 

Macro Definition Documentation

◆ DECLARE_PREVIEW

#define DECLARE_PREVIEW (   classname)
Value:
namespace { \
Mantid::Kernel::RegistrationHelper \
register_preview_##classname(((Mantid::API::PreviewManager::Instance().subscribe<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 65 of file PreviewManager.h.