64 static void Trigger(
void* param);
74 std::list<TimerHandle>
list;
76 for(
auto& th : list) th.Release();
80 list.push_back(std::move(s));
TimerHandle()
Definition: Timer.hpp:43
static void Trigger(void *param)
std::list< TimerHandle > list
Definition: Timer.hpp:74
TimerHandleList & operator+=(TimerHandle &&s)
Definition: Timer.hpp:79
void ReleaseAll()
Definition: Timer.hpp:75
TimerHandleList timerhandles
Definition: Timer.hpp:99
~TimerHandleList()
Definition: Timer.hpp:84
Definition: Alertable.hpp:26
TimerHandleList()
Definition: Timer.hpp:83
static TimerHandle Schedule(float seconds, std::function< void()> f)
TimerHandle & operator=(TimerHandle &&other)