Commit Graph

4 Commits (313ee13e5fb5dc29f58136c10a61165515acdb7c)

Author SHA1 Message Date
Peter Nelson d1a94d75e1
Fix: Incorrect include path for timers. (#11351) 9 months ago
frosch b6c8f301be Codechange: Silence warnings about intentionally unused parameters. 10 months ago
Patric Stout 387d5eb74f Codechange: validate the developer didn't schedule two timers on the same trigger/priority 1 year ago
Patric Stout 5e1bcee39b Codechange: introduce a framework for all our timers
IntervalTimer and TimeoutTimer use RAII, and can be used to replace
all the time-based timeouts, lag-detection, "execute every N" we
have.
As it uses RAII, you can safely use it as static variable, class
member, temporary variable, etc. As soon as it goes out-of-scope,
it will be safely removed.
This allows for much easier to read code when it comes to intervals.
1 year ago