StormByte-Buffer 2.0.0
C++26 buffer module of the StormByte suite
 
Loading...
Searching...
No Matches
StormByte::Buffer::IO::BackPressure Class Reference

Writer ring cap in WriteChunk units. More...

#include <StormByte/buffer/io/parameters.hxx>

Public Member Functions

STORMBYTE_FORCE_INLINE BackPressure (const std::size_t value) noexcept
 Store the cap in chunks.
 
STORMBYTE_FORCE_INLINE std::size_t Value () const noexcept
 Cap in chunks.
 

Detailed Description

Writer ring cap in WriteChunk units.

0 disables the ring.

Constructor & Destructor Documentation

◆ BackPressure()

STORMBYTE_FORCE_INLINE StormByte::Buffer::IO::BackPressure::BackPressure ( const std::size_t  value)
inlineexplicitnoexcept

Store the cap in chunks.

Parameters
valueChunk count. 0 disables the ring.

Member Function Documentation

◆ Value()

STORMBYTE_FORCE_INLINE std::size_t StormByte::Buffer::IO::BackPressure::Value ( ) const
inlinenoexcept

Cap in chunks.

Returns
Chunk count.

The documentation for this class was generated from the following file: