iceoryx_doc  1.0.1
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
iox::popo::ChunkReceiverData< MaxChunksHeldSimultaneously, ChunkQueueDataType > Struct Template Reference
Inheritance diagram for iox::popo::ChunkReceiverData< MaxChunksHeldSimultaneously, ChunkQueueDataType >:
Inheritance graph
[legend]
Collaboration diagram for iox::popo::ChunkReceiverData< MaxChunksHeldSimultaneously, ChunkQueueDataType >:
Collaboration graph
[legend]

Public Types

using ChunkQueueData_t = ChunkQueueDataType
 

Public Member Functions

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

Public Attributes

mepoo::MemoryInfo m_memoryInfo
 
UsedChunkList< MAX_CHUNKS_IN_USEm_chunksInUse
 

Static Public Attributes

static constexpr uint32_t MAX_CHUNKS_IN_USE = MaxChunksHeldSimultaneously + 1U
 

Member Data Documentation

◆ MAX_CHUNKS_IN_USE

template<uint32_t MaxChunksHeldSimultaneously, typename ChunkQueueDataType >
constexpr uint32_t iox::popo::ChunkReceiverData< MaxChunksHeldSimultaneously, ChunkQueueDataType >::MAX_CHUNKS_IN_USE = MaxChunksHeldSimultaneously + 1U
staticconstexpr

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


The documentation for this struct was generated from the following files: