libzypp  17.22.0
zyppng::EventDispatcherPrivate Class Reference

#include <eventdispatcher_glib_p.h>

Inheritance diagram for zyppng::EventDispatcherPrivate:

Public Member Functions

 EventDispatcherPrivate (GMainContext *ctx)
 
virtual ~EventDispatcherPrivate ()
 
bool runIdleTasks ()
 
void enableIdleSource ()
 
- Public Member Functions inherited from zyppng::BasePrivate
virtual ~BasePrivate ()
 

Public Attributes

std::thread::id _myThreadId
 
GMainLoop * _loop = nullptr
 
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
 
- Public Attributes inherited from zyppng::BasePrivate
Base::WeakPtr parent
 
std::unordered_set< Base::Ptrchildren
 
Basez_ptr = nullptr
 

Detailed Description

Definition at line 60 of file eventdispatcher_glib_p.h.

Constructor & Destructor Documentation

◆ EventDispatcherPrivate()

zyppng::EventDispatcherPrivate::EventDispatcherPrivate ( GMainContext *  ctx)

Definition at line 228 of file eventdispatcher_glib.cc.

◆ ~EventDispatcherPrivate()

zyppng::EventDispatcherPrivate::~EventDispatcherPrivate ( )
virtual

Definition at line 253 of file eventdispatcher_glib.cc.

Member Function Documentation

◆ runIdleTasks()

bool zyppng::EventDispatcherPrivate::runIdleTasks ( )

Definition at line 271 of file eventdispatcher_glib.cc.

◆ enableIdleSource()

void zyppng::EventDispatcherPrivate::enableIdleSource ( )

Definition at line 293 of file eventdispatcher_glib.cc.

Member Data Documentation

◆ _myThreadId

std::thread::id zyppng::EventDispatcherPrivate::_myThreadId

Definition at line 70 of file eventdispatcher_glib_p.h.

◆ _loop

GMainLoop* zyppng::EventDispatcherPrivate::_loop = nullptr

Definition at line 71 of file eventdispatcher_glib_p.h.

◆ _ctx

GMainContext* zyppng::EventDispatcherPrivate::_ctx = nullptr

Definition at line 72 of file eventdispatcher_glib_p.h.

◆ _idleSource

GSource* zyppng::EventDispatcherPrivate::_idleSource = nullptr

Definition at line 74 of file eventdispatcher_glib_p.h.

◆ _runningTimers

std::vector<GLibTimerSource *> zyppng::EventDispatcherPrivate::_runningTimers

Definition at line 76 of file eventdispatcher_glib_p.h.

◆ _eventSources

std::vector<GAbstractEventSource *> zyppng::EventDispatcherPrivate::_eventSources

Definition at line 77 of file eventdispatcher_glib_p.h.

◆ _unrefLater

std::vector< std::shared_ptr<void> > zyppng::EventDispatcherPrivate::_unrefLater

Definition at line 78 of file eventdispatcher_glib_p.h.

◆ _idleFuncs

std::queue< EventDispatcher::IdleFunction > zyppng::EventDispatcherPrivate::_idleFuncs

Definition at line 79 of file eventdispatcher_glib_p.h.


The documentation for this class was generated from the following files: