Struct FixedRingBuffer
Fields
Name | Type | Description |
---|---|---|
m_fill
|
size_t |
|
m_start
|
size_t |
Properties
Name | Type | Description |
---|---|---|
back
[get]
|
inout(T) |
|
capacity
[get]
|
size_t |
|
empty
[get]
|
bool |
|
freeSpace
[get]
|
size_t |
|
front
[get]
|
inout(T) |
|
full
[get]
|
bool |
|
length
[get]
|
size_t |
Methods
Name | Description |
---|---|
clear
|
|
mod
|
|
opApply
|
iterate through elements with index |
opApply
|
|
opDollar
|
|
opIndex
|
|
opSlice
|
|
opSlice
|
|
peek
|
|
peekDst
|
|
popBack
|
|
popBackN
|
|
popFront
|
|
popFrontN
|
|
put
|
|
put
|
|
putN
|
|
read
|
|
removeAt
|
Inner structs
Name | Description |
---|---|
Range
|
TODO
clear
ring buffer fields upon removal (to run struct destructors, if T is a struct)
Authors
Sönke Ludwig
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.