|
Grok 20.3.2
|
Base class providing common functionality for min-heap implementations. More...
#include <MinHeap.h>
Protected Member Functions | |
| MinHeapBase () | |
Protected Attributes | |
| std::mutex | queue_mutex |
| Mutex for thread-safe access. | |
| IT | start |
| Tracks the next expected index for sequential popping. | |
Base class providing common functionality for min-heap implementations.
| IT | Integral type used for tracking the starting index. |
|
inlineprotected |
References start.
|
mutableprotected |
Mutex for thread-safe access.
Referenced by grk::MinHeapPtr< T, IT, L >::pop(), grk::MinHeap< T, IT, L >::push(), grk::MinHeapPtr< T, IT, L >::push(), grk::MinHeap< T, IT, L >::push_and_pop(), grk::MinHeap< T, IT, L >::size(), and grk::MinHeapPtr< T, IT, L >::size().
|
protected |
Tracks the next expected index for sequential popping.
Referenced by MinHeapBase(), grk::MinHeapPtr< T, IT, L >::pop(), and grk::MinHeap< T, IT, L >::push_and_pop().