libzypp 17.37.17
|
#include <zypp-core/zyppng/base/private/eventdispatcher_glib_p.h>
Public Member Functions | |
EventDispatcherPrivate (GMainContext *ctx, EventDispatcher &p) | |
~EventDispatcherPrivate () override | |
bool | runIdleTasks () |
void | enableIdleSource () |
Public Member Functions inherited from zyppng::BasePrivate | |
BasePrivate (Base &b) | |
virtual | ~BasePrivate () |
virtual void | init () |
Static Public Member Functions | |
static std::shared_ptr< EventDispatcher > | create () |
static void | waitPidCallback (GPid pid, gint status, gpointer user_data) |
Public Attributes | |
std::thread::id | _myThreadId |
GMainContext * | _ctx = nullptr |
GSource * | _idleSource = nullptr |
std::vector< GLibTimerSource * > | _runningTimers |
std::vector< GAbstractEventSource * > | _eventSources |
std::vector< std::shared_ptr< void > > | _unrefLater |
std::queue< EventDispatcher::IdleFunction > | _idleFuncs |
std::unordered_map< int, GlibWaitPIDData > | _waitPIDs |
UnixSignalSourceWeakRef | _signalSource |
Public Attributes inherited from zyppng::BasePrivate | |
Base::WeakPtr | parent |
std::unordered_set< Base::Ptr > | children |
Base * | z_ptr = nullptr |
std::thread::id | threadId = std::this_thread::get_id() |
Definition at line 75 of file eventdispatcher_glib_p.h.
zyppng::EventDispatcherPrivate::EventDispatcherPrivate | ( | GMainContext * | ctx, |
EventDispatcher & | p ) |
Definition at line 275 of file eventdispatcher_glib.cc.
|
override |
Definition at line 291 of file eventdispatcher_glib.cc.
bool zyppng::EventDispatcherPrivate::runIdleTasks | ( | ) |
Definition at line 311 of file eventdispatcher_glib.cc.
void zyppng::EventDispatcherPrivate::enableIdleSource | ( | ) |
Definition at line 332 of file eventdispatcher_glib.cc.
|
static |
Definition at line 341 of file eventdispatcher_glib.cc.
|
static |
Definition at line 346 of file eventdispatcher_glib.cc.
std::thread::id zyppng::EventDispatcherPrivate::_myThreadId |
Definition at line 88 of file eventdispatcher_glib_p.h.
GMainContext* zyppng::EventDispatcherPrivate::_ctx = nullptr |
Definition at line 89 of file eventdispatcher_glib_p.h.
GSource* zyppng::EventDispatcherPrivate::_idleSource = nullptr |
Definition at line 91 of file eventdispatcher_glib_p.h.
std::vector<GLibTimerSource *> zyppng::EventDispatcherPrivate::_runningTimers |
Definition at line 93 of file eventdispatcher_glib_p.h.
std::vector<GAbstractEventSource *> zyppng::EventDispatcherPrivate::_eventSources |
Definition at line 94 of file eventdispatcher_glib_p.h.
std::vector< std::shared_ptr<void> > zyppng::EventDispatcherPrivate::_unrefLater |
Definition at line 95 of file eventdispatcher_glib_p.h.
std::queue< EventDispatcher::IdleFunction > zyppng::EventDispatcherPrivate::_idleFuncs |
Definition at line 96 of file eventdispatcher_glib_p.h.
std::unordered_map<int, GlibWaitPIDData> zyppng::EventDispatcherPrivate::_waitPIDs |
Definition at line 97 of file eventdispatcher_glib_p.h.
UnixSignalSourceWeakRef zyppng::EventDispatcherPrivate::_signalSource |
Definition at line 98 of file eventdispatcher_glib_p.h.