BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Handles all activity related to the simultaneous running of fitting jobs.
Definition at line 28 of file FitSessionManager.h.
Public Member Functions | |
FitSessionManager (QObject *parent=nullptr) | |
~FitSessionManager () | |
FitSessionController * | sessionController (JobItem *jobItem) |
Private Member Functions | |
FitSessionController * | createController (JobItem *jobItem) |
void | removeController (JobItem *jobItem) |
Fit controller which is currently attached to jobMessagePanel. More... | |
Private Attributes | |
FitSessionController * | m_activeController |
QMap< JobItem *, FitSessionController * > | m_item_to_controller |
FitSessionManager::FitSessionManager | ( | QObject * | parent = nullptr | ) |
Definition at line 21 of file FitSessionManager.cpp.
FitSessionManager::~FitSessionManager | ( | ) |
Definition at line 27 of file FitSessionManager.cpp.
References m_item_to_controller.
|
private |
Definition at line 50 of file FitSessionManager.cpp.
References JobItem::jobDestroyed(), and removeController().
Referenced by sessionController().
|
private |
Fit controller which is currently attached to jobMessagePanel.
Removes manager for given jobItem.
Definition at line 62 of file FitSessionManager.cpp.
References Error, m_activeController, and m_item_to_controller.
Referenced by createController().
FitSessionController * FitSessionManager::sessionController | ( | JobItem * | jobItem | ) |
Definition at line 33 of file FitSessionManager.cpp.
References createController(), m_activeController, and m_item_to_controller.
Referenced by FitActivityPanel::setItem().
|
private |
Definition at line 41 of file FitSessionManager.h.
Referenced by removeController(), and sessionController().
|
private |
Definition at line 42 of file FitSessionManager.h.
Referenced by ~FitSessionManager(), removeController(), and sessionController().