Skip to content

iox::popo::ChunkReceiverData🔗

More...

Inherits from ChunkQueueDataType

Public Types🔗

Name
using ChunkQueueDataType ChunkQueueData_t

Public Functions🔗

Name
ChunkReceiverData(const cxx::VariantQueueTypes queueType, const QueueFullPolicy queueFullPolicy, const mepoo::MemoryInfo & memoryInfo =mepoo::MemoryInfo())

Public Attributes🔗

Name
mepoo::MemoryInfo m_memoryInfo
UsedChunkList< MAX_CHUNKS_IN_USE > m_chunksInUse
constexpr uint32_t MAX_CHUNKS_IN_USE

Detailed Description🔗

template <uint32_t MaxChunksHeldSimultaneously,
typename ChunkQueueDataType >
struct iox::popo::ChunkReceiverData;

Public Types Documentation🔗

using ChunkQueueData_t🔗

using iox::popo::ChunkReceiverData< MaxChunksHeldSimultaneously, ChunkQueueDataType >::ChunkQueueData_t =  ChunkQueueDataType;

Public Functions Documentation🔗

function ChunkReceiverData🔗

inline explicit ChunkReceiverData(
    const cxx::VariantQueueTypes queueType,
    const QueueFullPolicy queueFullPolicy,
    const mepoo::MemoryInfo & memoryInfo =mepoo::MemoryInfo()
)

Public Attributes Documentation🔗

variable m_memoryInfo🔗

mepoo::MemoryInfo m_memoryInfo;

variable m_chunksInUse🔗

UsedChunkList< MAX_CHUNKS_IN_USE > m_chunksInUse;

variable MAX_CHUNKS_IN_USE🔗

static constexpr uint32_t MAX_CHUNKS_IN_USE = MaxChunksHeldSimultaneously + 1U;

we use one more than MaxChunksHeldSimultaneously for being able to provide one new chunk to the user if they already have the allowed MaxChunksHeldSimultaneously. But then the user has to return one to not brake the contract. This is aligned with AUTOSAR Adaptive ara::com


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