28 return uint32_t(
timers_.size());
70 TTimerVector::iterator iter;
74 smallest = std::min(
next, smallest);
82 TTimerVector::iterator iter;
83 bool anyProcessed =
false;
103 timer_proc(task, time - start);
109 next = start + numCalls * interval;
119 while (
timers_.empty() ==
false) {
void(* GHOST_TimerProcPtr)(struct GHOST_TimerTaskHandle__ *task, uint64_t time)
unsigned long long int uint64_t
bool fireTimers(uint64_t time)
GHOST_TSuccess removeTimer(GHOST_TimerTask *timer)
bool fireTimer(uint64_t time, GHOST_TimerTask *task)
bool getTimerFound(GHOST_TimerTask *timer)
GHOST_TSuccess addTimer(GHOST_TimerTask *timer)
uint64_t getInterval() const
GHOST_TimerProcPtr getTimerProc() const override
uint64_t getStart() const
void setNext(uint64_t next)