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
Merge requests
!266
Estimated frames
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Estimated frames
feature/estimated_frames
into
devel
Overview
0
Commits
11
Pipelines
4
Changes
1
Merged
Joan Vallvé Navarro
requested to merge
feature/estimated_frames
into
devel
6 years ago
Overview
0
Commits
11
Pipelines
4
Changes
1
Expand
Implementing
#183 (closed)
Edited
6 years ago
by
Joan Vallvé Navarro
0
0
Merge request reports
Viewing commit
da0b1c66
Prev
Next
Show latest version
1 file
+
6
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
da0b1c66
isAuxiliary() added
· da0b1c66
Joan Vallvé Navarro
authored
6 years ago
include/base/frame/frame_base.h
+
6
−
0
Options
@@ -74,6 +74,7 @@ class FrameBase : public NodeBase, public std::enable_shared_from_this<FrameBase
// get type
bool
isKey
()
const
;
bool
isAuxiliary
()
const
;
bool
isEstimated
()
const
;
// set type
@@ -177,6 +178,11 @@ inline bool FrameBase::isKey() const
return
(
type_
==
KEY
);
}
inline
bool
FrameBase
::
isAuxiliary
()
const
{
return
(
type_
==
AUXILIARY
);
}
inline
bool
FrameBase
::
isEstimated
()
const
{
return
(
type_
==
KEY
||
type_
==
AUXILIARY
);
Loading