randolf.ca
1.00
Randolf Richardson's C++ classes
|
Structure of positions and lengths of data blocks in ring buffer memory. This is specifically useful for direct memory access to the ring buffer's memory, which will need to be split into two operations when the buffer straddles the memory boundary. More...
#include <rring_blocks>
Public Attributes | |
void * | avail1 |
Pointer to first portion of available buffer memory. | |
size_t | avail1_size |
Number of elements in avail1. | |
void * | avail2 |
Pointer to second portion of available buffer memory, if this part of the ring buffer straddles the boundary, otherwise nullptr will be specified. | |
size_t | avail2_size |
Number of elements in avail2. | |
void * | block1 |
Pointer to first portion of utilized buffer memory. | |
size_t | block1_size |
Number of elements in block1. | |
void * | block2 |
Pointer to second portion of utilized buffer memory, if this part of the ring buffer straddles the boundary, otherwise nullptr will be specified. | |
size_t | block2_size |
Number of elements in block2. | |
Structure of positions and lengths of data blocks in ring buffer memory. This is specifically useful for direct memory access to the ring buffer's memory, which will need to be split into two operations when the buffer straddles the memory boundary.
void* randolf::rring_blocks::block1 |
Pointer to first portion of utilized buffer memory.
void* randolf::rring_blocks::block2 |
Pointer to second portion of utilized buffer memory, if this part of the ring buffer straddles the boundary, otherwise nullptr
will be specified.
void* randolf::rring_blocks::avail1 |
Pointer to first portion of available buffer memory.
void* randolf::rring_blocks::avail2 |
Pointer to second portion of available buffer memory, if this part of the ring buffer straddles the boundary, otherwise nullptr
will be specified.
size_t randolf::rring_blocks::block1_size |
Number of elements in block1.
size_t randolf::rring_blocks::block2_size |
Number of elements in block2.
size_t randolf::rring_blocks::avail1_size |
Number of elements in avail1.
size_t randolf::rring_blocks::avail2_size |
Number of elements in avail2.