Skip to content

iox::mepoo::ChunkManagement🔗

Public Types🔗

Name
using ChunkHeader base_t
using uint64_t referenceCounterBase_t
using std::atomic< referenceCounterBase_t > referenceCounter_t

Public Functions🔗

Name
ChunkManagement(const cxx::not_null< base_t * > chunkHeader, const cxx::not_null< MemPool * > mempool, const cxx::not_null< MemPool * > chunkManagementPool)

Public Attributes🔗

Name
iox::rp::RelativePointer< base_t > m_chunkHeader
referenceCounter_t m_referenceCounter
iox::rp::RelativePointer< MemPool > m_mempool
iox::rp::RelativePointer< MemPool > m_chunkManagementPool

Public Types Documentation🔗

using base_t🔗

using iox::mepoo::ChunkManagement::base_t =  ChunkHeader;

using referenceCounterBase_t🔗

using iox::mepoo::ChunkManagement::referenceCounterBase_t =  uint64_t;

using referenceCounter_t🔗

using iox::mepoo::ChunkManagement::referenceCounter_t =  std::atomic<referenceCounterBase_t>;

Public Functions Documentation🔗

function ChunkManagement🔗

ChunkManagement(
    const cxx::not_null< base_t * > chunkHeader,
    const cxx::not_null< MemPool * > mempool,
    const cxx::not_null< MemPool * > chunkManagementPool
)

Public Attributes Documentation🔗

variable m_chunkHeader🔗

iox::rp::RelativePointer< base_t > m_chunkHeader;

variable m_referenceCounter🔗

referenceCounter_t m_referenceCounter {1U};

variable m_mempool🔗

iox::rp::RelativePointer< MemPool > m_mempool;

Todo: optimization: check if this can be replaced by an offset relative to the this pointer

variable m_chunkManagementPool🔗

iox::rp::RelativePointer< MemPool > m_chunkManagementPool;

Updated on 31 May 2022 at 15:29:16 CEST