BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
projectmanagerfactory.cpp
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // qt-mvvm: Model-view-view-model framework for large GUI applications
4 //
5 //! @file mvvm/model/mvvm/factories/projectmanagerfactory.cpp
6 //! @brief Implements class CLASS?
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2020
11 //! @authors Gennady Pospelov et al, Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
18 
19 namespace ModelView {
20 std::unique_ptr<ProjectManagerInterface>
21 CreateProjectManager(const ProjectContext& project_context,
22  const UserInteractionContext& user_context)
23 {
24  return std::make_unique<ProjectManagerDecorator>(project_context, user_context);
25 }
26 
27 } // namespace ModelView
materialitems.h Collection of materials to populate MaterialModel.
std::unique_ptr< ProjectManagerInterface > CreateProjectManager(const ProjectContext &project_context, const UserInteractionContext &user_context)
Creates default ProjectManager to save and load models.
Defines class CLASS?
Defines class CLASS?
Defines class CLASS?
Provides necessary information for Project construction.
Definition: project_types.h:32
Defines the context to interact with the user regarding save/save-as/create-new project scenarious.
Definition: project_types.h:48