| libzypp 17.36.7
    | 
#include <zypp-core/zyppng/base/unixsignalsource.h>
 
  
| Public Member Functions | |
| ~UnixSignalSource () override | |
| bool | addSignal (int signum) | 
| bool | removeSignal (int signum) | 
| SignalProxy< void(int signum)> | sigReceived () | 
|  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) | 
| Protected Member Functions | |
| void | onFdReady (int fd, int events) override | 
| void | onSignal (int signal) override | 
|  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) | |
| Private Member Functions | |
| UnixSignalSource () | |
| Static Private Member Functions | |
| static UnixSignalSourceRef | create () | 
| Friends | |
| class | EventDispatcher | 
| 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> | 
|  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 Attributes inherited from zyppng::Base | |
| std::unique_ptr< BasePrivate > | d_ptr | 
Definition at line 12 of file unixsignalsource.h.
| 
 | override | 
Definition at line 34 of file unixsignalsource.cpp.
| 
 | private | 
Definition at line 30 of file unixsignalsource.cpp.
| bool zyppng::UnixSignalSource::addSignal | ( | int | signum | ) | 
Definition at line 46 of file unixsignalsource.cpp.
| bool zyppng::UnixSignalSource::removeSignal | ( | int | signum | ) | 
Definition at line 95 of file unixsignalsource.cpp.
| SignalProxy< void(int)> zyppng::UnixSignalSource::sigReceived | ( | ) | 
Definition at line 133 of file unixsignalsource.cpp.
| 
 | overrideprotectedvirtual | 
Called by the
Implements zyppng::AbstractEventSource.
Definition at line 138 of file unixsignalsource.cpp.
| 
 | overrideprotectedvirtual | 
Called when a event source has registered to receive unix signals
Implements zyppng::AbstractEventSource.
Definition at line 153 of file unixsignalsource.cpp.
| 
 | staticprivate | 
Definition at line 41 of file unixsignalsource.cpp.
| 
 | friend | 
Definition at line 29 of file unixsignalsource.h.