Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
Loading...
Searching...
No Matches
TimerScheduler.hpp File Reference

Fixed-capacity static timer scheduler for delayed and periodic events. More...

#include <chrono>
#include <cstddef>
#include <cstdint>
#include <type_traits>
#include <utility>
#include "corium/Events.hpp"
#include "corium/internal/StaticMinHeap.hpp"
#include "corium/policies/QueuePolicies.hpp"
#include "corium/timers/ClockPolicies.hpp"
+ Include dependency graph for TimerScheduler.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  corium::TimerScheduler< EventVariant, MaxTimers, ClockPolicy >::TimerComparator
 
struct  corium::TimerScheduler< EventVariant, MaxTimers, ClockPolicy >::TimerEntry
 
class  corium::TimerScheduler< EventVariant, MaxTimers, ClockPolicy >
 Zero-heap Min-Heap Timer Scheduler for delayed and periodic events. Provides O(1) earliest-due timer checks and O(log N) insertion and rescheduling. Supports single-shot delayed events and recurring periodic events with compile-time clock policy. More...
 

Namespaces

namespace  corium
 

Typedefs

using corium::TimerId = uint32_t
 

Variables

constexpr TimerId corium::INVALID_TIMER_ID = 0
 

Detailed Description

Fixed-capacity static timer scheduler for delayed and periodic events.