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
15
#include "
mvvm/factories/projectmanagerfactory.h
"
16
#include "
mvvm/project/project_types.h
"
17
#include "
mvvm/project/projectmanagerdecorator.h
"
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
ModelView
materialitems.h Collection of materials to populate MaterialModel.
Definition:
importtablewidget.h:26
ModelView::CreateProjectManager
std::unique_ptr< ProjectManagerInterface > CreateProjectManager(const ProjectContext &project_context, const UserInteractionContext &user_context)
Creates default ProjectManager to save and load models.
Definition:
projectmanagerfactory.cpp:21
project_types.h
Defines class CLASS?
projectmanagerdecorator.h
Defines class CLASS?
projectmanagerfactory.h
Defines class CLASS?
ModelView::ProjectContext
Provides necessary information for Project construction.
Definition:
project_types.h:32
ModelView::UserInteractionContext
Defines the context to interact with the user regarding save/save-as/create-new project scenarious.
Definition:
project_types.h:48
mvvm
model
mvvm
factories
projectmanagerfactory.cpp
Generated by
1.9.1