Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Humanoid Path Planner
hpp-model
Commits
deeb1568
Commit
deeb1568
authored
Feb 04, 2015
by
Joseph Mirabel
Committed by
Joseph Mirabel
Feb 20, 2015
Browse files
Device::currentConfiguration return true if the configuration was
modified.
parent
e9412360
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/hpp/model/device.hh
View file @
deeb1568
...
...
@@ -166,12 +166,16 @@ namespace hpp {
return
currentConfiguration_
;
}
/// Set current configuration
virtual
void
currentConfiguration
(
ConfigurationIn_t
configuration
)
/// \return True if the current configuration was modified and false if
/// the current configuration did not change.
virtual
bool
currentConfiguration
(
ConfigurationIn_t
configuration
)
{
if
(
configuration
!=
currentConfiguration_
)
{
upToDate_
=
false
;
currentConfiguration_
=
configuration
;
return
true
;
}
return
false
;
}
/// Get the neutral configuration
Configuration_t
neutralConfiguration
()
const
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment