44#include <StormByte/type_traits/safe.hxx>
47#include <StormByte/byte_size.hxx>
48#include <StormByte/expected.hxx>
49#include <StormByte/logger/log.hxx>
120 static_cast<unsigned>(a) |
static_cast<unsigned>(b));
131 static_cast<unsigned>(a) &
static_cast<unsigned>(b));
152 return (
static_cast<unsigned>(mode) &
static_cast<unsigned>(flag)) ==
153 static_cast<unsigned>(flag);
Read-oriented handle over a shared Ring.
Definition consumer.hxx:80
Write-only handle over a shared Ring.
Definition producer.hxx:71
Buffer that can be read and not written.
Definition generic.hxx:220
Buffer that can be written and not read.
Definition generic.hxx:497
Buffer module of the StormByte suite.
constexpr bool HasExecutionFlag(ExecutionMode mode, ExecutionMode flag) noexcept
Whether mode includes all bits of flag.
Definition typedefs.hxx:151
constexpr ExecutionMode operator|(ExecutionMode a, ExecutionMode b) noexcept
Bitwise OR of execution flags.
Definition typedefs.hxx:118
constexpr ExecutionMode operator&(ExecutionMode a, ExecutionMode b) noexcept
Bitwise AND of execution flags.
Definition typedefs.hxx:129
ExecutionMode
Bitmask controlling how Pipeline::Process schedules work.
Definition typedefs.hxx:106
@ Async
Background execution; Process returns immediately.
Definition typedefs.hxx:108
@ Parallel
One thread per stage (pipeline parallelism).
Definition typedefs.hxx:109
@ Sync
Sequential on caller thread; Process blocks.
Definition typedefs.hxx:107
constexpr ExecutionMode & operator|=(ExecutionMode &a, ExecutionMode b) noexcept
Bitwise OR-assignment of execution flags.
Definition typedefs.hxx:140
Position
Forward declaration of the WriteOnly interface.
Definition typedefs.hxx:74
@ Relative
Offset from the current logical read position.
Definition typedefs.hxx:76
@ Absolute
Offset from the beginning of the buffer (position 0).
Definition typedefs.hxx:75
#define STORMBYTE_BUFFER_PUBLIC
Definition visibility.h:54