From 2a1aecbcab6ec6637d85882dcffb3c9d05233249 Mon Sep 17 00:00:00 2001 From: Christian Eltzschig Date: Mon, 24 Jan 2022 17:33:57 +0100 Subject: [PATCH] iox-#1036 Add changes to changelog Signed-off-by: Christian Eltzschig --- CHANGELOG.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ec626d122..a098393cb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -57,11 +57,24 @@ - Remove the requirement for INVALID_STATE for the cxx::expected [\#987](https://github.com/eclipse-iceoryx/iceoryx/issues/987) - Add unique test identifers [\#988](https://github.com/eclipse-iceoryx/iceoryx/issues/988) - Remove `ApplicationPort` and `ApplicationPortData` classes [\#415](https://github.com/eclipse-iceoryx/iceoryx/issues/415) +- Remove creation pattern from `MemoryMap` and replace it with `MemoryMapBuilder` [\#1036](https://github.com/eclipse-iceoryx/iceoryx/issues/1036) **API Breaking Changes:** Dependency for building the iceoryx_dds gateway changed from `openjdk` (Java) to `bison` +Replace Creation pattern from `MemoryMap` with `MemoryMapBuilder`. +```cpp +// before +auto memoryMapResult = posix::MemoryMap::create(baseAddress, length, fileDescriptor, accessMode, flags, offset); + +// after +auto memoryMapResult = posix::MemoryMapBuilder().baseAddressHint(baseAddress) + .length(length).fileDescriptor(fileDescriptor) + .accessMode(accessMode).flags(flags) + .offset(0).create(); +``` + Rename utils to hoofs: - in CMake you need now to find and link the package `iceoryx_hoofs` instead of `iceoryx_utils`