libzypp 17.37.17
|
#include <zypp-core/zyppng/thread/asyncqueue.h>
Public Member Functions | |
~AsyncQueueWatch () override | |
void | postNotifyEvent () |
SignalProxy< void()> | sigMessageAvailable () |
void | onFdReady (int fd, int events) override |
void | onSignal (int signal) override |
Public Member Functions inherited from zyppng::AbstractEventSource | |
AbstractEventSource () | |
AbstractEventSource (AbstractEventSourcePrivate &dd) | |
~AbstractEventSource () override | |
std::weak_ptr< EventDispatcher > | eventDispatcher () const |
Public Member Functions inherited from zyppng::Base | |
Base () | |
virtual | ~Base () |
WeakPtr | parent () const |
void | addChild (const Base::Ptr &child) |
void | removeChild (const Ptr &child) |
const std::unordered_set< Ptr > & | children () const |
std::thread::id | threadId () const |
template<typename T> | |
std::vector< std::weak_ptr< T > > | findChildren () const |
template<typename T> | |
std::shared_ptr< T > | shared_this () const |
template<typename T> | |
std::shared_ptr< T > | shared_this () |
template<typename T> | |
std::weak_ptr< T > | weak_this () const |
template<typename T> | |
std::weak_ptr< T > | weak_this () |
template<typename SenderFunc, typename ReceiverFunc> | |
auto | connect (SenderFunc &&sFun, typename internal::MemberFunction< ReceiverFunc >::ClassType &recv, ReceiverFunc &&rFunc) |
template<typename SenderFunc, typename ReceiverFunc, typename ... Tracker> | |
std::enable_if_t< std::is_member_function_pointer_v< SenderFunc >, connection > | connectFunc (SenderFunc &&sFun, ReceiverFunc &&rFunc, const Tracker &...trackers) |
Static Public Member Functions | |
static std::shared_ptr< AsyncQueueWatch > | create (std::shared_ptr< AsyncQueueBase > queue) |
Static Public Member Functions inherited from zyppng::Base | |
template<typename Obj, typename Functor> | |
static decltype(auto) | make_base_slot (Obj *o, Functor &&f) |
template<typename SenderFunc, typename ReceiverFunc> | |
static auto | connect (typename internal::MemberFunction< SenderFunc >::ClassType &s, SenderFunc &&sFun, typename internal::MemberFunction< ReceiverFunc >::ClassType &recv, ReceiverFunc &&rFunc) |
template<typename SenderFunc, typename ReceiverFunc, typename ... Tracker> | |
static auto | connectFunc (typename internal::MemberFunction< SenderFunc >::ClassType &s, SenderFunc &&sFun, ReceiverFunc &&rFunc, const Tracker &...trackers) |
Protected Member Functions | |
AsyncQueueWatch (std::shared_ptr< AsyncQueueBase > &&queue) | |
AsyncQueueWatch (AsyncQueueWatchPrivate &dd) | |
Protected Member Functions inherited from zyppng::AbstractEventSource | |
void | updateFdWatch (int fd, int mode) |
void | removeFdWatch (int fd) |
Protected Member Functions inherited from zyppng::Base | |
Base (BasePrivate &dd) |
Additional Inherited Members | |
Public Types inherited from zyppng::AbstractEventSource | |
enum | EventTypes { Read = 0x01 , Write = 0x02 , Exception = 0x04 , Error = 0x08 } |
Public Types inherited from zyppng::Base | |
using | Ptr = std::shared_ptr<Base> |
using | WeakPtr = std::weak_ptr<Base> |
Protected Attributes inherited from zyppng::Base | |
std::unique_ptr< BasePrivate > | d_ptr |
Definition at line 147 of file asyncqueue.h.
|
override |
Definition at line 70 of file asyncqueue.cc.
|
protected |
|
protected |
Definition at line 57 of file asyncqueue.cc.
|
static |
Definition at line 61 of file asyncqueue.cc.
void zyppng::AsyncQueueWatch::postNotifyEvent | ( | ) |
Definition at line 78 of file asyncqueue.cc.
SignalProxy< void()> zyppng::AsyncQueueWatch::sigMessageAvailable | ( | ) |
Definition at line 90 of file asyncqueue.cc.
|
overridevirtual |
Called by the
Implements zyppng::AbstractEventSource.
Definition at line 95 of file asyncqueue.cc.
|
overridevirtual |
Called when a event source has registered to receive unix signals
Implements zyppng::AbstractEventSource.
Definition at line 105 of file asyncqueue.cc.