Phosphor
|
#include <trace_buffer.h>
Public Member Functions | |
chunk_iterable (const TraceBuffer &buffer_) | |
chunk_iterator | begin () |
chunk_iterator | end () |
Helper class that can be used to create for-range loops over the chunks of the TraceBuffer
for(const auto& chunk : TraceBuffer::chunk_iterable(buffer) { // Do something with every chunk }
|
inline |
buffer_ | The buffer to iterate over |
|
inline |
|
inline |