|
Mantid
|
#include <MockQtAlgorithmRunner.h>
Public Member Functions | |
| Mantid::API::IAlgorithm_sptr | algorithm () const |
| MOCK_CONST_METHOD0 (getAlgorithm, Mantid::API::IAlgorithm_sptr()) | |
| MOCK_METHOD1 (startAlgorithmImpl, void(Mantid::API::IAlgorithm_sptr)) | |
| MockQtAlgorithmRunner ()=default | |
| void | startAlgorithm (Mantid::API::IAlgorithm_sptr alg) |
| Begin asynchronous execution of an algorithm and observe its execution. | |
Public Member Functions inherited from MantidQt::API::QtAlgorithmRunner | |
| void | cancelRunningAlgorithm () |
| If an algorithm is already running, cancel it. | |
| virtual Mantid::API::IAlgorithm_sptr | getAlgorithm () const |
| Get back a pointer to the running algorithm. | |
| QtAlgorithmRunner (QObject *parent=nullptr) | |
| ~QtAlgorithmRunner () override | |
Private Attributes | |
| Mantid::API::IAlgorithm_sptr | m_algorithm |
Definition at line 19 of file MockQtAlgorithmRunner.h.
|
default |
|
inline |
Definition at line 32 of file MockQtAlgorithmRunner.h.
References m_algorithm.
| MockQtAlgorithmRunner::MOCK_CONST_METHOD0 | ( | getAlgorithm | , |
| Mantid::API::IAlgorithm_sptr() | |||
| ) |
| MockQtAlgorithmRunner::MOCK_METHOD1 | ( | startAlgorithmImpl | , |
| void(Mantid::API::IAlgorithm_sptr) | |||
| ) |
|
inlinevirtual |
Begin asynchronous execution of an algorithm and observe its execution.
| alg | :: algorithm to execute. All properties should have been set properly. |
Reimplemented from MantidQt::API::QtAlgorithmRunner.
Definition at line 27 of file MockQtAlgorithmRunner.h.
References m_algorithm.
|
private |
Definition at line 35 of file MockQtAlgorithmRunner.h.
Referenced by algorithm(), and startAlgorithm().