Grok 20.3.2
MinHeap.h File Reference
#include <mutex>
#include <queue>
#include <vector>
#include <concepts>
#include <optional>

Go to the source code of this file.

Classes

class  grk::SimpleHeap< T >
 A simple non-thread-safe min-heap for tracking contiguous sequences of size_t indices. More...
class  grk::MinHeapLocker
 RAII locker for synchronizing access to a min-heap with a real mutex. More...
class  grk::MinHeapFakeLocker
 No-op locker for single-threaded or unsynchronized min-heap access. More...
struct  grk::MinHeapComparator< T >
 Comparator for min-heap ordering based on getIndex() (value version). More...
class  grk::MinHeapBase< IT >
 Base class providing common functionality for min-heap implementations. More...
class  grk::MinHeap< T, IT, L >
 Thread-safe min-heap for values with customizable locking. More...
struct  grk::MinHeapPtrComparator< T >
 Comparator for min-heap ordering based on getIndex() (pointer version). More...
class  grk::MinHeapPtr< T, IT, L >
 Thread-safe min-heap for pointers with customizable locking. More...

Namespaces

namespace  grk
 ResWindow.

Concepts

concept  grk::HasGetIndex
 Concept ensuring a type T has a getIndex() method returning an integral type.