|
Mantid
|
#include <QtJobRunner.h>
Public Member Functions | |
| void | cancelAlgorithmQueue () override |
| void | clearAlgorithmQueue () override |
| void | executeAlgorithm (MantidQt::API::IConfiguredAlgorithm_sptr algorithm) override |
| void | executeAlgorithmQueue () override |
| QtJobRunner (bool const stopOnFailure=false) | |
| void | setAlgorithmQueue (std::deque< MantidQt::API::IConfiguredAlgorithm_sptr > algorithms) override |
| void | subscribe (JobRunnerSubscriber *notifyee) override |
Public Member Functions inherited from MantidQt::API::IJobRunner | |
| virtual | ~IJobRunner ()=default |
Private Slots | |
| void | onAlgorithmComplete (MantidQt::API::IConfiguredAlgorithm_sptr algorithm) |
| void | onAlgorithmError (MantidQt::API::IConfiguredAlgorithm_sptr algorithm, const std::string &errorMessage) |
| void | onAlgorithmStarted (MantidQt::API::IConfiguredAlgorithm_sptr algorithm) |
| void | onBatchCancelled () |
| void | onBatchComplete (bool error) |
Private Member Functions | |
| void | connectBatchAlgoRunnerSlots () |
Private Attributes | |
| MantidQt::API::BatchAlgorithmRunner | m_batchAlgoRunner |
| JobRunnerSubscriber * | m_notifyee |
Definition at line 22 of file QtJobRunner.h.
| MantidQt::API::QtJobRunner::QtJobRunner | ( | bool const | stopOnFailure = false | ) |
Definition at line 18 of file QtJobRunner.cpp.
References connectBatchAlgoRunnerSlots(), m_batchAlgoRunner, and MantidQt::API::BatchAlgorithmRunner::stopOnFailure().
|
overridevirtual |
Implements MantidQt::API::IJobRunner.
Definition at line 38 of file QtJobRunner.cpp.
References MantidQt::API::BatchAlgorithmRunner::cancelBatch(), and m_batchAlgoRunner.
|
overridevirtual |
Implements MantidQt::API::IJobRunner.
Definition at line 26 of file QtJobRunner.cpp.
References MantidQt::API::BatchAlgorithmRunner::clearQueue(), and m_batchAlgoRunner.
|
private |
Definition at line 40 of file QtJobRunner.cpp.
References m_batchAlgoRunner, onAlgorithmComplete(), onAlgorithmError(), onAlgorithmStarted(), onBatchCancelled(), and onBatchComplete().
Referenced by QtJobRunner().
|
overridevirtual |
Implements MantidQt::API::IJobRunner.
Definition at line 34 of file QtJobRunner.cpp.
References MantidQt::API::BatchAlgorithmRunner::executeAlgorithmAsync(), and m_batchAlgoRunner.
|
overridevirtual |
Implements MantidQt::API::IJobRunner.
Definition at line 32 of file QtJobRunner.cpp.
References MantidQt::API::BatchAlgorithmRunner::executeBatchAsync(), and m_batchAlgoRunner.
|
privateslot |
Definition at line 59 of file QtJobRunner.cpp.
References m_notifyee, and MantidQt::API::JobRunnerSubscriber::notifyAlgorithmComplete().
Referenced by connectBatchAlgoRunnerSlots().
|
privateslot |
Definition at line 63 of file QtJobRunner.cpp.
References m_notifyee, and MantidQt::API::JobRunnerSubscriber::notifyAlgorithmError().
Referenced by connectBatchAlgoRunnerSlots().
|
privateslot |
Definition at line 55 of file QtJobRunner.cpp.
References m_notifyee, and MantidQt::API::JobRunnerSubscriber::notifyAlgorithmStarted().
Referenced by connectBatchAlgoRunnerSlots().
|
privateslot |
Definition at line 53 of file QtJobRunner.cpp.
References m_notifyee, and MantidQt::API::JobRunnerSubscriber::notifyBatchCancelled().
Referenced by connectBatchAlgoRunnerSlots().
|
privateslot |
Definition at line 51 of file QtJobRunner.cpp.
References error, m_notifyee, and MantidQt::API::JobRunnerSubscriber::notifyBatchComplete().
Referenced by connectBatchAlgoRunnerSlots().
|
overridevirtual |
Implements MantidQt::API::IJobRunner.
Definition at line 28 of file QtJobRunner.cpp.
References m_batchAlgoRunner, and MantidQt::API::BatchAlgorithmRunner::setQueue().
|
overridevirtual |
Implements MantidQt::API::IJobRunner.
Definition at line 24 of file QtJobRunner.cpp.
References m_notifyee.
|
private |
Definition at line 41 of file QtJobRunner.h.
Referenced by cancelAlgorithmQueue(), clearAlgorithmQueue(), connectBatchAlgoRunnerSlots(), executeAlgorithm(), executeAlgorithmQueue(), QtJobRunner(), and setAlgorithmQueue().
|
private |
Definition at line 42 of file QtJobRunner.h.
Referenced by onAlgorithmComplete(), onAlgorithmError(), onAlgorithmStarted(), onBatchCancelled(), onBatchComplete(), and subscribe().