|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
|
inline |
Thread-safe snapshot of buffer contents.
Safe for lock-free contexts but allocates memory. For LockFreePolicy, provides consistent view despite concurrent access.
Not Real-time Safe: Allocates std::vector.
Definition at line 913 of file RingBuffer.hpp.
References MayaFlux::Memory::RingBuffer< T, StoragePolicy, ConcurrencyPolicy, AccessPattern >::is_lock_free, MayaFlux::Memory::RingBuffer< T, StoragePolicy, ConcurrencyPolicy, AccessPattern >::linearized_view(), MayaFlux::Memory::RingBuffer< T, StoragePolicy, ConcurrencyPolicy, AccessPattern >::m_state, and MayaFlux::Memory::RingBuffer< T, StoragePolicy, ConcurrencyPolicy, AccessPattern >::m_storage.
Referenced by MayaFlux::Memory::RingBuffer< T, StoragePolicy, ConcurrencyPolicy, AccessPattern >::resize().
Here is the call graph for this function:
Here is the caller graph for this function: