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