Skip to content
Snippets Groups Projects
Commit 4bde3153 authored by Tobias Gröger's avatar Tobias Gröger
Browse files

added hasbeensuccessful to status update classes

parent acaa1c25
No related branches found
No related tags found
No related merge requests found
Pipeline #15785 passed
......@@ -86,6 +86,12 @@ namespace armarx
return true;
}
bool
hasBeenSucceeded() const
{
return status == TerminatedSkillStatus::Succeeded;
}
manager::dto::SkillStatusUpdate toManagerIce() const;
provider::dto::SkillStatusUpdate toProviderIce() const;
......@@ -111,6 +117,12 @@ namespace armarx
status == ActiveOrTerminatedSkillStatus::Aborted;
}
bool
hasBeenSucceeded() const
{
return status == ActiveOrTerminatedSkillStatus::Succeeded;
}
manager::dto::SkillStatusUpdate toManagerIce() const;
provider::dto::SkillStatusUpdate toProviderIce() const;
......@@ -195,6 +207,12 @@ namespace armarx
status == SkillStatus::Aborted;
}
bool
hasBeenSucceeded() const
{
return status == SkillStatus::Succeeded;
}
manager::dto::SkillStatusUpdate toManagerIce() const;
provider::dto::SkillStatusUpdate toProviderIce() const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment