25 #ifndef CGU_NOTIFIER_H
26 #define CGU_NOTIFIER_H
36 #include <unordered_set>
37 #include <type_traits>
216 static bool initialised;
217 static pthread_t thread_id;
222 static std::unordered_set<Notifier*>* object_set_p;
226 static void read_pipe_cb(
bool&);
334 class =
typename std::enable_if<!std::is_convertible<typename std::remove_reference<F>::type,
337 return connect(Callback::lambda<>(std::forward<F>(f)));
365 class =
typename std::enable_if<!std::is_convertible<typename std::remove_reference<F>::type,
368 return connect(Callback::lambda<>(std::forward<F>(f)), r);