|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
Runtime-resizable storage using std::vector. More...
#include <RingBuffer.hpp>
Collaboration diagram for MayaFlux::Memory::DynamicStorage< T >:Public Types | |
| using | storage_type = std::vector< T > |
Public Member Functions | |
| DynamicStorage (size_t initial_capacity=64) | |
| size_t | capacity () const noexcept |
| void | resize (size_t new_capacity) |
Public Attributes | |
| storage_type | buffer |
Static Public Attributes | |
| static constexpr bool | is_resizable = true |
Runtime-resizable storage using std::vector.
Provides dynamic capacity management for non-realtime contexts where buffer size cannot be determined at compile time. Supports resize() operations but may trigger heap allocations.
| T | Element type |
Memory Layout:
Use Cases:
Definition at line 85 of file RingBuffer.hpp.