BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Provides necessary information for Project construction. More...
Public Types | |
using | models_callback_t = std::function< std::vector< SessionModel * >()> |
To ask for a vector of models to save/load to/from disk. More... | |
using | modified_callback_t = std::function< void()> |
< To notify about the change of the project with respect to what was written on disk. More... | |
Public Attributes | |
models_callback_t | m_models_callback |
modified_callback_t | m_modified_callback |
Provides necessary information for Project construction.
Definition at line 32 of file project_types.h.
using ModelView::ProjectContext::models_callback_t = std::function<std::vector<SessionModel*>()> |
To ask for a vector of models to save/load to/from disk.
This is intentionally obtained via callback since save request might come after the Project construction.
Definition at line 39 of file project_types.h.
using ModelView::ProjectContext::modified_callback_t = std::function<void()> |
< To notify about the change of the project with respect to what was written on disk.
Definition at line 34 of file project_types.h.
models_callback_t ModelView::ProjectContext::m_models_callback |
Definition at line 42 of file project_types.h.
Referenced by ProjectTest::createContext(), ProjectManagerTest::createContext(), ProjectUtilsTest::createContext(), ModelView::Project::ProjectImpl::models(), and ProjectManagerDecoratorTest::projectContext().
modified_callback_t ModelView::ProjectContext::m_modified_callback |
Definition at line 41 of file project_types.h.