BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
The AppSvc class provides common access for key components of the GUI. More...
Static Public Member Functions | |
static AppSvc & | instance () |
static MaterialModel * | materialModel () |
static ProjectManager * | projectManager () |
static void | subscribe (MaterialModel *materialModel) |
static void | subscribe (ProjectManager *projectManager) |
static void | unsubscribe (MaterialModel *materialModel) |
static void | unsubscribe (ProjectManager *projectManager) |
Private Member Functions | |
AppSvc () | |
MaterialModel * | this_materialModel () |
ProjectManager * | this_projectManager () |
void | this_subscribe (MaterialModel *materialModel) |
void | this_subscribe (ProjectManager *projectManager) |
void | this_unsubscribe (MaterialModel *materialModel) |
void | this_unsubscribe (ProjectManager *projectManager) |
Private Attributes | |
MaterialModel * | m_materialModel |
ProjectManager * | m_projectManager |
Friends | |
class | ISingleton< AppSvc > |
The AppSvc class provides common access for key components of the GUI.
|
private |
Definition at line 48 of file AppSvc.cpp.
|
inlinestaticinherited |
Definition at line 23 of file ISingleton.h.
|
static |
Definition at line 33 of file AppSvc.cpp.
References ISingleton< AppSvc >::instance(), and this_materialModel().
Referenced by MaterialModel::MaterialModel(), MaterialModel::~MaterialModel(), RealSpaceBuilderUtils::applyParticleColor(), MaterialItemUtils::defaultMaterialProperty(), MaterialItemUtils::findMaterial(), MaterialItemUtils::selectMaterialProperty(), subscribe(), this_subscribe(), this_unsubscribe(), and unsubscribe().
|
static |
Definition at line 18 of file AppSvc.cpp.
References ISingleton< AppSvc >::instance(), and this_projectManager().
Referenced by PyImportAssistant::fileNameToOpen(), RealDataSelectorWidget::importData(), SimulationSetupWidget::onExportToPythonScript(), IntensityDataCanvas::onSavePlotAction(), SpecularDataCanvas::onSavePlotAction(), MaskEditorCanvas::onSavePlotRequest(), PyImportAssistant::saveImportDir(), RealSpaceCanvas::savePicture(), subscribe(), this_subscribe(), this_unsubscribe(), unsubscribe(), and ProjectUtils::userExportDir().
|
static |
Definition at line 38 of file AppSvc.cpp.
References ISingleton< AppSvc >::instance(), materialModel(), and this_subscribe().
|
static |
Definition at line 23 of file AppSvc.cpp.
References ISingleton< AppSvc >::instance(), projectManager(), and this_subscribe().
Referenced by MaterialModel::MaterialModel(), and ProjectManager::ProjectManager().
|
private |
Definition at line 59 of file AppSvc.cpp.
References m_materialModel.
Referenced by materialModel().
|
private |
Definition at line 50 of file AppSvc.cpp.
References m_projectManager.
Referenced by projectManager().
|
private |
Definition at line 82 of file AppSvc.cpp.
References m_materialModel, and materialModel().
|
private |
Definition at line 64 of file AppSvc.cpp.
References m_projectManager, and projectManager().
Referenced by subscribe().
|
private |
Definition at line 91 of file AppSvc.cpp.
References m_materialModel, and materialModel().
|
private |
Definition at line 73 of file AppSvc.cpp.
References m_projectManager, and projectManager().
Referenced by unsubscribe().
|
static |
Definition at line 43 of file AppSvc.cpp.
References ISingleton< AppSvc >::instance(), materialModel(), and this_unsubscribe().
|
static |
Definition at line 28 of file AppSvc.cpp.
References ISingleton< AppSvc >::instance(), projectManager(), and this_unsubscribe().
Referenced by MaterialModel::~MaterialModel(), and ProjectManager::~ProjectManager().
|
friend |
|
private |
Definition at line 47 of file AppSvc.h.
Referenced by this_materialModel(), this_subscribe(), and this_unsubscribe().
|
private |
Definition at line 46 of file AppSvc.h.
Referenced by this_projectManager(), this_subscribe(), and this_unsubscribe().