Lumiera  0.pre.03
»edit your freedom«
ExtentFamily< T, siz >::IdxLink Struct Reference

Description

template<typename T, size_t siz>
struct vault::mem::ExtentFamily< T, siz >::IdxLink

Iteration »State Core« based on Extents index position.

Remarks
builds upon the specific wrap-around logic for cyclic reuse of extent storage and allocation.

Definition at line 132 of file extent-family.hpp.

Public Member Functions

bool checkPoint () const
 
void expandAlloc (size_t cnt=1)
 
size_t getIndex ()
 
void iterNext ()
 
bool operator== (IdxLink const &oi) const
 
void validatePos (Extent *knownTarget)
 Ensure this iterator is still in-sync with expected target position; attempt to re-establish proper sync after growing the Extents pool with position rotation. More...
 
Extentyield () const
 

Public Attributes

ExtentFamilyexFam {nullptr}
 
size_t index {0}
 

Member Function Documentation

◆ validatePos()

void validatePos ( Extent knownTarget)
inline

Ensure this iterator is still in-sync with expected target position; attempt to re-establish proper sync after growing the Extents pool with position rotation.

Remarks
typically steps up by number of new slots.

Definition at line 186 of file extent-family.hpp.

+ Collaboration diagram for ExtentFamily< T, siz >::IdxLink:

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