Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wolf
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
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
wolf_projects
wolf_lib
wolf
Commits
64db3d10
Commit
64db3d10
authored
3 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
hotfix: const function
parent
3eaf5748
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!451
After cmake and const refactor
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/core/processor/motion_provider.h
+1
-1
1 addition, 1 deletion
include/core/processor/motion_provider.h
include/core/processor/processor_tracker.h
+2
-2
2 additions, 2 deletions
include/core/processor/processor_tracker.h
with
3 additions
and
3 deletions
include/core/processor/motion_provider.h
+
1
−
1
View file @
64db3d10
...
...
@@ -80,7 +80,7 @@ class MotionProvider
void
setStatePriority
(
int
);
public:
const
StateStructure
&
getStateStructure
(
)
{
return
state_structure_
;
};
const
StateStructure
&
getStateStructure
(
)
const
{
return
state_structure_
;
};
void
setStateStructure
(
std
::
string
_state_structure
)
{
state_structure_
=
_state_structure
;
};
void
addToProblem
(
ProblemPtr
_prb_ptr
,
MotionProviderPtr
_motion_ptr
);
...
...
This diff is collapsed.
Click to expand it.
include/core/processor/processor_tracker.h
+
2
−
2
View file @
64db3d10
...
...
@@ -136,7 +136,7 @@ class ProcessorTracker : public ProcessorBase
ParamsProcessorTrackerPtr
_params_tracker
);
~
ProcessorTracker
()
override
;
StateStructure
getStateStructure
()
const
;
const
StateStructure
&
getStateStructure
()
const
;
virtual
CaptureBaseConstPtr
getOrigin
()
const
;
virtual
CaptureBasePtr
getOrigin
();
...
...
@@ -313,7 +313,7 @@ inline FeatureBasePtrList& ProcessorTracker::getNewFeaturesListIncoming()
return
new_features_incoming_
;
}
inline
StateStructure
ProcessorTracker
::
getStateStructure
(
)
const
inline
const
StateStructure
&
ProcessorTracker
::
getStateStructure
(
)
const
{
return
state_structure_
;
}
...
...
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