srs-control 0.2.2
Loading...
Searching...
No Matches
srs::BufferQueue::Config Struct Reference

Configuration for the buffer queue class. More...

#include <BufferQueue.hpp>

Public Attributes

std::size_t buffer_size = common::LARGE_READ_MSG_BUFFER_SIZE
 < The size of each buffer in the buffer queue.
std::size_t reserve_size = 1
 The number of buffers to be preallocated in the trash buffer queue.
std::size_t queue_capacity = 10
 The maximum number of buffers in both buffer queues.

Detailed Description

Configuration for the buffer queue class.

Definition at line 28 of file BufferQueue.hpp.

Member Data Documentation

◆ buffer_size

std::size_t srs::BufferQueue::Config::buffer_size = common::LARGE_READ_MSG_BUFFER_SIZE

< The size of each buffer in the buffer queue.

Definition at line 31 of file BufferQueue.hpp.

◆ queue_capacity

std::size_t srs::BufferQueue::Config::queue_capacity = 10

The maximum number of buffers in both buffer queues.

Definition at line 33 of file BufferQueue.hpp.

◆ reserve_size

std::size_t srs::BufferQueue::Config::reserve_size = 1

The number of buffers to be preallocated in the trash buffer queue.

Definition at line 32 of file BufferQueue.hpp.


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