|
BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Completion status (flag and text) of a numeric computation. More...
Public Member Functions | |
| ComputationStatus () | |
| std::string | errorMessage () const |
| bool | isCompleted () const |
| void | setCompleted () |
| void | setFailed (const std::string &message) |
| void | setRunning () |
Private Types | |
| enum | ESimulationStatus { IDLE , RUNNING , COMPLETED , FAILED } |
Private Attributes | |
| std::string | m_error_message |
| ESimulationStatus | m_status |
Completion status (flag and text) of a numeric computation.
Definition at line 28 of file ComputationStatus.h.
|
private |
|
inline |
Definition at line 30 of file ComputationStatus.h.
|
inline |
Definition at line 33 of file ComputationStatus.h.
References m_error_message.
Referenced by IComputation::errorMessage().
|
inline |
Definition at line 32 of file ComputationStatus.h.
References COMPLETED, and m_status.
Referenced by IComputation::isCompleted().
|
inline |
Definition at line 36 of file ComputationStatus.h.
References COMPLETED, and m_status.
Referenced by IComputation::run().
|
inline |
Definition at line 37 of file ComputationStatus.h.
References FAILED, m_error_message, and m_status.
Referenced by IComputation::run().
|
inline |
Definition at line 35 of file ComputationStatus.h.
References m_status, and RUNNING.
Referenced by IComputation::run().
|
private |
Definition at line 47 of file ComputationStatus.h.
Referenced by errorMessage(), and setFailed().
|
private |
Definition at line 46 of file ComputationStatus.h.
Referenced by isCompleted(), setCompleted(), setFailed(), and setRunning().