30 CatalogSession_sptr login(
const std::string &username,
const std::string &password,
const std::string &endpoint,
31 const std::string &facility);
36 void destroyCatalog(
const std::string &sessionID);
38 std::vector<CatalogSession_sptr> getActiveSessions();
40 size_t numberActiveSessions()
const;
59EXTERN_MANTID_API
template class MANTID_API_DLL Kernel::SingletonHolder<Mantid::API::CatalogManagerImpl>;
This class is a singleton and is responsible for creating, destroying, and managing catalogs.
CatalogManagerImpl(const CatalogManagerImpl &)=delete
virtual ~CatalogManagerImpl()=default
CatalogManagerImpl()=default
std::map< CatalogSession_sptr, ICatalog_sptr > m_activeCatalogs
CatalogManagerImpl & operator=(const CatalogManagerImpl &)=delete
Manage the lifetime of a class intended to be a singleton.
std::shared_ptr< CatalogSession > CatalogSession_sptr
std::shared_ptr< ICatalog > ICatalog_sptr
Helper class which provides the Collimation Length for SANS instruments.
Policy class controlling creation of the singleton Implementation classes should mark their default c...