hmbdc
simplify-high-performance-messaging-programming
Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
hmbdc::pattern::lf_misc::chunk_base_ptr< Seq > Struct Template Reference

Public Member Functions

template<typename Allocator = os::DefaultAllocator>
 chunk_base_ptr (uint32_t valueTypeSizePower2Num, uint32_t ringSizePower2Num, Allocator &allocator=os::DefaultAllocator::instance)
 
void * operator+ (size_t index) const HMBDC_RESTRICT
 
Seq * getSeq (size_t index) const HMBDC_RESTRICT
 
 chunk_base_ptr (chunk_base_ptr< Seq > const &)=delete
 
chunk_base_ptroperator= (chunk_base_ptr< Seq > const &)=delete
 

Static Public Member Functions

static size_t footprint (uint32_t valueTypeSizePower2Num, uint32_t ringSizePower2Num)
 

Public Attributes

std::ptrdiff_t const space_
 
Seq const MASK
 
uint32_t const valueTypeSizePower2Num_
 
std::function< void()> freer_
 

Friends

size_t operator- (void const *HMBDC_RESTRICT from, chunk_base_ptr< Seq > const &HMBDC_RESTRICT start)
 

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