Grok
9.5.0
|
#include <SequentialCache.h>
Public Member Functions | |
SequentialCache (void) | |
SequentialCache (uint64_t maxChunkSize) | |
virtual | ~SequentialCache (void) |
void | rewind (void) |
T * | get () |
Protected Member Functions | |
virtual T * | create (void) |
Private Attributes | |
std::vector< T ** > | chunks |
uint64_t | m_chunkSize |
T ** | m_currChunk |
uint64_t | m_index |
Static Private Attributes | |
static constexpr uint64_t | kSequentialChunkSize = 1024 |
|
inline |
|
inline |
|
inlinevirtual |
References grk::SequentialCache< T >::chunks, and grk::SequentialCache< T >::m_chunkSize.
|
inlineprotectedvirtual |
Referenced by grk::SequentialCache< T >::get().
|
inline |
|
inline |
|
private |
|
staticconstexprprivate |
|
private |
Referenced by grk::SequentialCache< T >::get(), and grk::SequentialCache< T >::~SequentialCache().
|
private |
Referenced by grk::SequentialCache< T >::get(), and grk::SequentialCache< T >::rewind().
|
private |
Referenced by grk::SequentialCache< T >::get(), and grk::SequentialCache< T >::rewind().