Commit 11848398 authored by Nick Draper's avatar Nick Draper
Browse files

Update comments for isExecuted

Haven't changed AlgorithmProxy as that class will be deleted in the next PR
parent 097abc6b
......@@ -122,7 +122,7 @@ public:
/// Check whether the algorithm is initialized properly
virtual bool isInitialized() const = 0;
/// Check whether the algorithm has already been executed
/// Check whether the algorithm has been executed sucessfully
virtual bool isExecuted() const = 0;
/// Raises the cancel flag. interuption_point() method if called inside exec()
......@@ -141,7 +141,7 @@ bool Algorithm::isInitialized() const {
return (m_executionState != ExecutionState::Uninitialized);
/// Has the Algorithm already been executed
/// Has the Algorithm already been executed successfully
bool Algorithm::isExecuted() const {
return ((executionState() == ExecutionState::Finished) &&
(resultState() == ResultState::Success));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment