27 template<
typename T,
bool (T::*method)()>
30 auto &t = *static_cast<T *>(data);
35 template<
typename T,
bool (T::*method)()>
39 return g_timeout_add_seconds(s.count(),
static gboolean Callback(gpointer data)
Definition: Event.hxx:29
unsigned ScheduleTimeout(std::chrono::seconds s, T &t)
Definition: Event.hxx:37