Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RobotAPI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software
ArmarX
RobotAPI
Commits
ea6ec318
Commit
ea6ec318
authored
3 years ago
by
Fabian Reister
Browse files
Options
Downloads
Patches
Plain Diff
fix: _execute should be pure virtual
parent
aa5aa243
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/RobotAPI/libraries/skills/provider/SpecializedSkill.h
+2
-8
2 additions, 8 deletions
source/RobotAPI/libraries/skills/provider/SpecializedSkill.h
with
2 additions
and
8 deletions
source/RobotAPI/libraries/skills/provider/SpecializedSkill.h
+
2
−
8
View file @
ea6ec318
...
...
@@ -25,14 +25,8 @@ namespace armarx
}
/// Override this method with the actual implementation. The callback is for status updates to the calling instance
virtual
Status
_execute
(
const
AronT
&
params
,
const
CallbackT
&
callback
=
[](
const
aron
::
data
::
DictPtr
&
returnValue
)
{
(
void
)
returnValue
;
})
{
(
void
)
params
;
ARMARX_WARNING_S
<<
"You have to override this method!"
;
return
Status
::
Succeeded
;
}
virtual
Status
_execute
(
const
AronT
&
params
,
const
CallbackT
&
callback
=
[](
const
aron
::
data
::
DictPtr
&
returnValue
)
{
(
void
)
returnValue
;
})
=
0
;
/// Do not use anymore
Status
_execute
(
const
aron
::
data
::
DictPtr
&
params
,
const
CallbackT
&
callback
=
[](
const
aron
::
data
::
DictPtr
&
returnValue
)
{
(
void
)
returnValue
;
})
final
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment