31 auto ev = d->_ev.lock();
34 ev->removeEventSource( *
this );
44 auto ev = d_func()->_ev.lock();
49 ev->updateEventSource( *
this, fd, mode );
54 auto ev = d_func()->_ev.lock();
59 ev->removeEventSource( *
this , fd );
Base class for Exception.
std::weak_ptr< EventDispatcher > _ev
AbstractEventSourcePrivate(AbstractEventSource &p)
~AbstractEventSource() override
std::weak_ptr< EventDispatcher > eventDispatcher() const
void updateFdWatch(int fd, int mode)
void removeFdWatch(int fd)
static std::shared_ptr< EventDispatcher > instance()
#define ZYPP_THROW(EXCPT)
Drops a logline and throws the Exception.
#define ZYPP_IMPL_PRIVATE(Class)