31 auto ev =
d->_ev.lock();
34 ev->removeEventSource( *
this );
49 ev->updateEventSource( *
this,
fd, mode );
59 ev->removeEventSource( *
this ,
fd );
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
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)