Time Shield Library
C++ library for working with time
Loading...
Searching...
No Matches
DeadlineTimer.hpp File Reference

Monotonic deadline timer utility similar to Qt's QDeadlineTimer. More...

Go to the source code of this file.

Classes

class  time_shield::DeadlineTimer
 Helper that models a monotonic deadline for timeout management. More...
 

Namespaces

namespace  time_shield
 Main namespace for the Time Shield library.
 

Detailed Description

Monotonic deadline timer utility similar to Qt's QDeadlineTimer.

DeadlineTimer provides a lightweight helper around std::chrono::steady_clock that tracks an absolute deadline and exposes helpers to query the remaining time or whether the deadline has already passed.

Definition in file DeadlineTimer.hpp.