GL CHOCO ENGINE
Loading...
Searching...
No Matches
ring_queue Struct Reference

ring_queue_t内部データ構造 More...

Data Fields

size_t head
 
size_t tail
 
size_t len
 
size_t element_align
 
size_t max_element_count
 
size_t padding
 
size_t element_size
 
size_t stride
 
size_t capacity
 
void * memory_pool
 

Detailed Description

ring_queue_t内部データ構造

Field Documentation

◆ capacity

size_t ring_queue::capacity

memory_poolのサイズ

◆ element_align

size_t ring_queue::element_align

リングキューに格納する要素のアライメント要件

◆ element_size

size_t ring_queue::element_size

格納要素のサイズ(パディングサイズを含まない実際の構造体のサイズ)

◆ head

size_t ring_queue::head

リングキュー配列の先頭インデックス

◆ len

size_t ring_queue::len

リングキューに格納済みの要素数

◆ max_element_count

size_t ring_queue::max_element_count

リングキューに格納可能な最大要素数

◆ memory_pool

void* ring_queue::memory_pool

要素を格納するバッファ

◆ padding

size_t ring_queue::padding

1要素ごとに必要なパディング量

◆ stride

size_t ring_queue::stride

1要素に必要なメモリ領域(element_size + padding)

◆ tail

size_t ring_queue::tail

リングキューに次に追加する要素インデックス


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