MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Memory Namespace Reference

Classes

struct  DynamicStorage
 Runtime-resizable storage using std::vector. More...
 
struct  FixedStorage
 Compile-time fixed-capacity storage using std::array. More...
 
class  HistoryBuffer
 History buffer for difference equations and recursive relations. More...
 
struct  HistoryBufferAccess
 History buffer semantics (newest sample first) More...
 
struct  LockFreePolicy
 Lock-free SPSC (Single Producer Single Consumer) concurrency. More...
 
struct  QueueAccess
 FIFO queue semantics (oldest data first) More...
 
class  RingBuffer
 Policy-driven unified circular buffer implementation. More...
 
struct  SingleThreadedPolicy
 Non-atomic single-threaded operation. More...
 

Concepts

concept  TriviallyCopyable
 Constraint for types that can be safely copied bitwise.
 

Typedefs

template<typename T , size_t Capacity>
using LockFreeQueue = RingBuffer< T, FixedStorage< T, Capacity >, LockFreePolicy, QueueAccess >
 Type alias: Lock-free SPSC queue with fixed capacity.
 
template<typename T , size_t Capacity>
using FixedQueue = RingBuffer< T, FixedStorage< T, Capacity >, SingleThreadedPolicy, QueueAccess >
 Type alias: Single-threaded FIFO queue with fixed capacity.
 
template<typename T >
using DynamicQueue = RingBuffer< T, DynamicStorage< T >, SingleThreadedPolicy, QueueAccess >
 Type alias: Resizable FIFO queue (non-concurrent)