Module ring_buffer

Module ring_buffer 

Source
Expand description

High-performance ring buffer implementation for real-time data streaming.

This module provides a cache-efficient ring buffer designed for embedded systems with real-time constraints. Features include:

  • Efficient circular buffer operations
  • Configurable overflow behavior
  • Event notifications for data changes
  • Memory-efficient storage with compile-time bounds

Structs§

ChronologicalIter
Iterator that returns ring buffer elements in chronological order
RingBuffer
High-performance ring buffer optimized for real-time data
RingBufferConfig
Configuration for ring buffer behavior
RingBufferStats
Performance statistics for the ring buffer

Enums§

OverflowMode
Overflow behavior when buffer is full
RingBufferEvent
Event types for ring buffer notifications

Type Aliases§

PointRingBuffer
Specialized ring buffer for Point2D with additional features