Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
Loading...
Searching...
No Matches
corium::ipc::ShmMpscQueue< T, Capacity >::Cell Struct Reference

#include <ShmMpscQueue.hpp>

+ Collaboration diagram for corium::ipc::ShmMpscQueue< T, Capacity >::Cell:

Public Member Functions

const T * ptr () const noexcept
 
T * ptr () noexcept
 

Public Attributes

std::atomic< std::size_t > sequence {0}
 
uint8_t storage [sizeof(T)] {}
 

Member Function Documentation

◆ ptr() [1/2]

template<typename T , std::size_t Capacity = 256>
const T * corium::ipc::ShmMpscQueue< T, Capacity >::Cell::ptr ( ) const
inlinenoexcept

◆ ptr() [2/2]

template<typename T , std::size_t Capacity = 256>
T * corium::ipc::ShmMpscQueue< T, Capacity >::Cell::ptr ( )
inlinenoexcept
+ Here is the caller graph for this function:

Member Data Documentation

◆ sequence

template<typename T , std::size_t Capacity = 256>
std::atomic<std::size_t> corium::ipc::ShmMpscQueue< T, Capacity >::Cell::sequence {0}

◆ storage

template<typename T , std::size_t Capacity = 256>
uint8_t corium::ipc::ShmMpscQueue< T, Capacity >::Cell::storage[sizeof(T)] {}

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