BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 25 of file FitWorkerLauncher.h.
Public Slots | |
void | interruptFitting () |
Signals | |
void | fittingError (const QString &message) |
void | fittingFinished () |
void | fittingStarted () |
void | intern_interruptFittingWorker (QPrivateSignal) |
Public Member Functions | |
FitWorkerLauncher (QObject *parent) | |
const QDateTime & | fitEnd () const |
const QDateTime & | fitStart () const |
void | runFitting (std::shared_ptr< FitObjectiveBuilder > suite) |
Private Slots | |
void | intern_error (const QString &mesg) |
void | intern_workerFinished () |
void | intern_workerStarted () |
Private Attributes | |
QDateTime | m_fit_end |
QDateTime | m_fit_start |
std::atomic< bool > | m_is_fit_running |
FitWorkerLauncher::FitWorkerLauncher | ( | QObject * | parent | ) |
Definition at line 19 of file FitWorkerLauncher.cpp.
const QDateTime & FitWorkerLauncher::fitEnd | ( | ) | const |
Definition at line 57 of file FitWorkerLauncher.cpp.
References m_fit_end.
Referenced by FitSessionController::onFittingError(), and FitSessionController::onFittingFinished().
const QDateTime & FitWorkerLauncher::fitStart | ( | ) | const |
Definition at line 52 of file FitWorkerLauncher.cpp.
References m_fit_start.
Referenced by FitSessionController::onFittingStarted().
|
signal |
Referenced by FitSessionController::FitSessionController(), and intern_error().
|
signal |
Referenced by FitSessionController::FitSessionController(), and intern_workerFinished().
|
signal |
Referenced by FitSessionController::FitSessionController(), and intern_workerStarted().
|
privateslot |
Definition at line 82 of file FitWorkerLauncher.cpp.
References fittingError().
Referenced by runFitting().
|
signal |
Referenced by interruptFitting(), and runFitting().
|
privateslot |
Definition at line 68 of file FitWorkerLauncher.cpp.
References fittingFinished(), m_fit_end, and m_is_fit_running.
Referenced by runFitting().
|
privateslot |
Definition at line 75 of file FitWorkerLauncher.cpp.
References fittingStarted(), m_fit_end, and m_fit_start.
Referenced by runFitting().
|
slot |
Definition at line 62 of file FitWorkerLauncher.cpp.
References intern_interruptFittingWorker(), and m_is_fit_running.
Referenced by FitSessionController::onStopFittingRequest().
void FitWorkerLauncher::runFitting | ( | std::shared_ptr< FitObjectiveBuilder > | suite | ) |
Definition at line 25 of file FitWorkerLauncher.cpp.
References FitWorker::error(), FitWorker::finished(), intern_error(), intern_interruptFittingWorker(), intern_workerFinished(), intern_workerStarted(), FitWorker::interruptFitting(), m_is_fit_running, FitWorker::started(), and FitWorker::startFit().
Referenced by FitSessionController::onStartFittingRequest().
|
private |
Definition at line 56 of file FitWorkerLauncher.h.
Referenced by fitEnd(), intern_workerFinished(), and intern_workerStarted().
|
private |
Definition at line 55 of file FitWorkerLauncher.h.
Referenced by fitStart(), and intern_workerStarted().
|
private |
Definition at line 54 of file FitWorkerLauncher.h.
Referenced by intern_workerFinished(), interruptFitting(), and runFitting().