17 #ifndef IOX_POSH_MEPOO_SHARED_CHUNK_HPP
18 #define IOX_POSH_MEPOO_SHARED_CHUNK_HPP
20 #include "iceoryx_posh/internal/mepoo/chunk_management.hpp"
21 #include "iceoryx_posh/internal/mepoo/mem_pool.hpp"
22 #include "iceoryx_posh/mepoo/chunk_header.hpp"
23 #include "iceoryx_utils/internal/relocatable_pointer/relative_pointer.hpp"
48 void* getUserPayload()
const noexcept;
52 bool operator==(
const SharedChunk& rhs)
const noexcept;
56 bool operator!=(
const SharedChunk& rhs)
const noexcept;
57 bool operator!=(
const void*
const rhs)
const noexcept;
59 operator bool() const noexcept;
65 void decrementReferenceCounter() noexcept;
66 void incrementReferenceCounter() noexcept;
67 void freeChunk() noexcept;
WARNING: SharedChunk is not thread safe! Don't share SharedChunk objects between threads!...
Definition: shared_chunk.hpp:35
bool operator==(const void *const rhs) const noexcept
DesignPattern::Creation offers us a create method which forwards the arguments to the constructor....
Definition: shared_pointer.hpp:47
Definition: service_description.hpp:29
Definition: chunk_management.hpp:35