Files
openttd/src
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.
2023-04-15 13:58:55 +02:00
..
2023-01-26 23:47:55 +01:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2023-02-26 21:28:30 +01:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2023-02-26 21:28:30 +01:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2021-03-01 21:56:26 +00:00
2019-11-10 17:59:20 +00:00
2022-10-20 21:17:35 +02:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2023-02-26 21:28:30 +01:00
2023-02-26 21:28:30 +01:00
2023-02-26 21:28:30 +01:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2023-02-26 21:28:30 +01:00
2023-02-26 21:28:30 +01:00
2023-02-26 21:28:30 +01:00
2023-02-26 21:28:30 +01:00
2019-11-10 17:59:20 +00:00
2023-02-26 21:28:30 +01:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2023-02-26 21:28:30 +01:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2023-02-26 21:28:30 +01:00
2019-11-10 17:59:20 +00:00
2023-01-26 23:47:55 +01:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2022-11-12 18:28:39 +00:00
2022-11-12 18:28:39 +00:00