#include <ring_buffer.h>
|
enum | : Message { msg_max = std::numeric_limits<Message>::max() - 1
, msg_min = 1
, msg_none = 0
, msg_pad = std::numeric_limits<Message>::max()
} |
|
◆ anonymous enum
Enumerator |
---|
msg_max | |
msg_min | |
msg_none | |
msg_pad | |
◆ align_size()
static constexpr size_t ringbuffer::Const::align_size |
( |
size_t |
n | ) |
|
|
inlinestaticconstexpr |
◆ entry_size()
static constexpr size_t ringbuffer::Const::entry_size |
( |
size_t |
n | ) |
|
|
inlinestaticconstexpr |
◆ find_acceptable_sub_buffer()
static bool ringbuffer::Const::find_acceptable_sub_buffer |
( |
uint8_t *& |
data_, |
|
|
size_t & |
size_ |
|
) |
| |
|
inlinestatic |
◆ header_size()
static constexpr size_t ringbuffer::Const::header_size |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ is_aligned()
static bool ringbuffer::Const::is_aligned |
( |
uint8_t const * |
data, |
|
|
size_t |
align |
|
) |
| |
|
inlinestatic |
◆ is_power_of_2()
static constexpr bool ringbuffer::Const::is_power_of_2 |
( |
size_t |
n | ) |
|
|
inlinestaticconstexpr |
◆ make_header()
static uint64_t ringbuffer::Const::make_header |
( |
Message |
m, |
|
|
size_t |
size, |
|
|
bool |
pending = true |
|
) |
| |
|
inlinestatic |
◆ max_reservation_size()
static constexpr size_t ringbuffer::Const::max_reservation_size |
( |
size_t |
buffer_size | ) |
|
|
inlinestaticconstexpr |
◆ max_size()
static constexpr size_t ringbuffer::Const::max_size |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ previous_power_of_2()
static constexpr size_t ringbuffer::Const::previous_power_of_2 |
( |
size_t |
n | ) |
|
|
inlinestaticconstexpr |
The documentation for this struct was generated from the following file: