picolibrary

Circular Buffer

The circular buffer container class (::picolibrary::Circular_Buffer) is defined in the include/picolibrary/circular_buffer.h/source/picolibrary/circular_buffer.cc header/source file pair.

The ::picolibrary::Circular_Buffer_Use_Case enum class defines the supported circular buffer use cases and is used to select the associated circular buffer implementation. The following use cases are supported (these use cases assume that interrupts that interact with a circular buffer cannot be interrupted by other interrupts that also interact with the circular buffer):

::picolibrary::Circular_Buffer supports the following operations: