From 97157ad66d6312deeafc15a8e80ef6f83f2b0de2 Mon Sep 17 00:00:00 2001
From: root
ev
namespace. It should support all the same embedding
options as ev.h, most notably EV_MULTIPLICITY
.
-Care has been taken to keep the overhead low. The only data member added
-to the C-style watchers is the event loop the watcher is associated with
-(or no additional members at all if you disable EV_MULTIPLICITY
when
-embedding libev).
Currently, functions and static and non-static member functions can be +
Care has been taken to keep the overhead low. The only data member the C++
+classes add (compared to plain C-style watchers) is the event loop pointer
+that the watcher is associated with (or no additional members at all if
+you disable EV_MULTIPLICITY
when embedding libev).
Currently, functions, and static and non-static member functions can be used as callbacks. Other types should be easy to add as long as they only need one additional pointer for context. If you need support for other types of functors please contact the author (preferably after implementing -- cgit v1.2.3