|
using | RingbufferContainer = AZStd::array< BitsetChunk, RingbufferContainerSize > |
|
|
static constexpr uint32_t | NumBitsetChunkedBits = AZ::Log2(BitsetChunk(~0)) |
|
static constexpr uint32_t | RingbufferContainerSize = SIZE / NumBitsetChunkedBits |
|
◆ GetBit()
Gets the current value of the specified bit.
- Parameters
-
index | index of the bit to retrieve the value of |
- Returns
- boolean true if the bit is set, false otherwise
◆ GetBitsetElement()
Retrieves a single element from the ringbuffer bitset.
- Parameters
-
elementIndex | the index of the ringbuffer element to retrieve |
- Returns
- the requested bitset element
◆ GetUnusedHeadBits()
Returns the number of bits that are unused in the head element.
- Returns
- the number of bits that are unused in the head element
◆ GetValidBitCount()
Returns the number of accessible bits in this ringbuffer bitset.
- Returns
- the number of accessible bits in this ringbuffer bitset
◆ PushBackBits()
Pushes back the specified number of bits padding with zero bits.
- Parameters
-
numBits | the number of bits to push into the bitset |
◆ SetBit()
Sets the specified bit to the provided value.
- Parameters
-
index | index of the bit to set |
value | value to set the bit to |
The documentation for this class was generated from the following files:
- Code/Framework/AzNetworking/AzNetworking/DataStructures/RingBufferBitset.h
- Code/Framework/AzNetworking/AzNetworking/DataStructures/RingBufferBitset.inl