OpenTTD Source  20241121-master-g67a0fccfad
timer.h File Reference

Definition of Interval and OneShot timers. More...

#include "timer_manager.h"

Go to the source code of this file.

Data Structures

class  BaseTimer< TTimerType >
 The base where every other type of timer is derived from. More...
 
class  IntervalTimer< TTimerType >
 An interval timer will fire every interval, and will continue to fire until it is deleted. More...
 
class  TimeoutTimer< TTimerType >
 A timeout timer will fire once after the interval. More...
 

Detailed Description

Definition of Interval and OneShot timers.

Definition in file timer.h.