28 static void bind(
int signal,
void (T::*fp)(
int), T*
object)
33 static void bind(
int signal,
const Handler& handler);
36 static void bindAll(
void (T::*fp)(
int), T*
object)
38 const Handler handler = std::bind(fp,
object, std::placeholders::_1);
50 static void unbind(
int signal,
void (T::*fp)(
int), T*
object)
58 static void unbindAll(
void (T::*fp)(
int), T*
object)
60 const Handler handler = std::bind(fp,
object, std::placeholders::_1);
71 static std::map<int, std::list<Handler> >
handlers_;
static void unbind(int signal, void(T::*fp)(int), T *object)
static std::map< int, std::list< Handler > > handlers_
static void unbindAll(void(T::*fp)(int), T *object)
static void bind(int signal, void(T::*fp)(int), T *object)
static void signaled(int signal)
std::function< void(int)> Handler
static void bindAll(void(T::*fp)(int), T *object)