OpenTTD Source  20241111-master-gce64d5f5d9
TimerManager< TTimerType >::base_timer_sorter Struct Reference

Sorter for timers. More...

Public Member Functions

bool operator() (BaseTimer< TTimerType > *a, BaseTimer< TTimerType > *b) const
 

Detailed Description

template<typename TTimerType>
struct TimerManager< TTimerType >::base_timer_sorter

Sorter for timers.

It will sort based on the period, smaller first. If the period is the same, it will sort based on the pointer value.

Definition at line 106 of file timer_manager.h.


The documentation for this struct was generated from the following file: