BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Completion status (flag and text) of a numeric computation.
Definition at line 27 of file ComputationStatus.h.
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 |
|
private |
|
inline |
Definition at line 29 of file ComputationStatus.h.
|
inline |
Definition at line 35 of file ComputationStatus.h.
References m_error_message.
Referenced by IComputation::errorMessage().
|
inline |
Definition at line 34 of file ComputationStatus.h.
References COMPLETED, and m_status.
Referenced by IComputation::isCompleted().
|
inline |
Definition at line 38 of file ComputationStatus.h.
References COMPLETED, and m_status.
Referenced by IComputation::compute().
|
inline |
Definition at line 39 of file ComputationStatus.h.
References FAILED, m_error_message, and m_status.
Referenced by IComputation::compute().
|
inline |
Definition at line 37 of file ComputationStatus.h.
References m_status, and RUNNING.
Referenced by IComputation::compute().
|
private |
Definition at line 49 of file ComputationStatus.h.
Referenced by errorMessage(), and setFailed().
|
private |
Definition at line 48 of file ComputationStatus.h.
Referenced by isCompleted(), setCompleted(), setFailed(), and setRunning().