iceoryx
iceoryx copied to clipboard
iox-#605 Merge `BaseRelativePointer` with `RelativePointer`
Pre-Review Checklist for the PR Author
- [x] Code follows the coding style of CONTRIBUTING.md
- [x] Tests follow the best practice for testing
- [x] Changelog updated in the unreleased section including API breaking changes
- [x] Branch follows the naming format (
iox-123-this-is-a-branch) - [x] Commits messages are according to this guideline
- [x] Commit messages have the issue ID (
iox-#123 commit text) - [x] Commit messages are signed (
git commit -s) - [x] Commit author matches Eclipse Contributor Agreement (and ECA is signed)
- [x] Commit messages have the issue ID (
- [x] Update the PR title
- Follow the same conventions as for commit messages
- Link to the relevant issue
- [x] Relevant issues are linked
- [x] Add sensible notes for the reviewer
- [ ] All checks have passed (except
task-list-completed) - [x] All touched (C/C++) source code files from
iceoryx_hoofsare added to./clang-tidy-diff-scans.txt - [x] Assign PR to reviewer
Notes for Reviewer
- Merge
BaseRelativePointerwithRelativePointer - Introduce
UntypedRelativePointeralias - Invalidate moved-from
RelativePointerobjects - Rename
id_ttosegment_id_tdue to AUTOSAR ruleM2.10.1
Checklist for the PR Reviewer
- [ ] Commits are properly organized and messages are according to the guideline
- [ ] Code according to our coding style and naming conventions
- [ ] Unit tests have been written for new behavior
- [ ] Public API changes are documented via doxygen
- [ ] Copyright owner are updated in the changed files
- [ ] All touched (C/C++) source code files from
iceoryx_hoofshave been added to./clang-tidy-diff-scans.txt - [ ] PR title describes the changes
Post-review Checklist for the PR Author
- [ ] All open points are addressed and tracked via issues
References
- Closes #605 (partly)
Codecov Report
Merging #1603 (5d77c8e) into master (8d2c793) will decrease coverage by
0.00%. The diff coverage is89.07%.
@@ Coverage Diff @@
## master #1603 +/- ##
==========================================
- Coverage 76.21% 76.21% -0.01%
==========================================
Files 366 365 -1
Lines 14163 14151 -12
Branches 2360 2361 +1
==========================================
- Hits 10795 10785 -10
+ Misses 2578 2576 -2
Partials 790 790
| Flag | Coverage Δ | |
|---|---|---|
| unittests | 75.86% <89.07%> (-0.01%) |
:arrow_down: |
| unittests_timing | 15.59% <21.84%> (+<0.01%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Impacted Files | Coverage Δ | |
|---|---|---|
| ...nternal/relocatable_pointer/pointer_repository.hpp | 100.00% <ø> (ø) |
|
| .../internal/relocatable_pointer/relative_pointer.hpp | 100.00% <ø> (ø) |
|
| ...de/iceoryx_posh/internal/roudi/process_manager.hpp | 100.00% <ø> (ø) |
|
| ...yx_posh/internal/runtime/ipc_runtime_interface.hpp | 100.00% <ø> (ø) |
|
| iceoryx_posh/source/runtime/shared_memory_user.cpp | 0.00% <0.00%> (ø) |
|
| ...oryx_posh/source/runtime/ipc_runtime_interface.cpp | 52.10% <50.00%> (ø) |
|
| .../internal/relocatable_pointer/relative_pointer.inl | 96.29% <94.91%> (-3.71%) |
:arrow_down: |
| ...nternal/relocatable_pointer/pointer_repository.inl | 92.50% <100.00%> (-0.36%) |
:arrow_down: |
| ...lude/iceoryx_posh/internal/mepoo/mepoo_segment.inl | 88.88% <100.00%> (ø) |
|
| ...posh/include/iceoryx_posh/internal/roudi/roudi.hpp | 77.77% <100.00%> (ø) |
|
| ... and 6 more |
@MatthiasKillat Seems there is still a problem somewhere:
- ~~The examples don't run~~ :heavy_check_mark:
- ~~
MemoryProvider_Test.SegmentIdValueAfterCreationIsValidis failing on some builds~~ :heavy_check_mark:
You can have a look if you like. I won't be able to work on it in the next two weeks.
@mossmaurice I will approve after the conflicts are resolved. Please change the move ctor in the follow up PR.