Go to the documentation of this file. 1 #ifndef ZYPP_BASE_EVENTDISPATCHER_GLIB_P_DEFINED
2 #define ZYPP_BASE_EVENTDISPATCHER_GLIB_P_DEFINED
8 #include <unordered_map>
17 gpointer
tag =
nullptr;
72 GMainContext *
_ctx =
nullptr;
static gboolean dispatch(GSource *source, GSourceFunc, gpointer)
static gboolean dispatch(GSource *source, GSourceFunc, gpointer)
static gboolean check(GSource *source)
EventDispatcherPrivate * _ev
static void destruct(GAbstractEventSource *src)
std::vector< std::shared_ptr< void > > _unrefLater
static gboolean check(GSource *source)
virtual ~EventDispatcherPrivate()
static GAbstractEventSource * create(EventDispatcherPrivate *ev)
std::queue< EventDispatcher::IdleFunction > _idleFuncs
static GLibTimerSource * create()
The Timer class provides repetitive and single-shot timers.
EventDispatcherPrivate(GMainContext *ctx)
std::vector< GAbstractEventSource * > _eventSources
#define ZYPP_DECLARE_PUBLIC(Class)
std::vector< GUnixPollFD > pollfds
std::vector< GLibTimerSource * > _runningTimers
AbstractEventSource * eventSource
static gboolean prepare(GSource *, gint *timeout)
static gboolean prepare(GSource *src, gint *timeout)
static void destruct(GLibTimerSource *src)
std::thread::id _myThreadId