Subclass of the sigc::signal templates. More...
#include <signalproxy.h>
Public Member Functions | |
SignalProxy (const SignalMatchRule &matchRule) | |
Public Member Functions inherited from DBus::SignalProxyBase | |
virtual HandlerResult | handle_signal (std::shared_ptr< const SignalMessage >) |
const std::string & | match_rule () const |
void | update_match_rule () |
Public Member Functions inherited from DBus::SignalBase | |
virtual | ~SignalBase () |
std::shared_ptr< Connection > | connection () |
void | set_connection (std::weak_ptr< Connection > connection) |
const std::string & | sender () const |
void | set_sender (const std::string &s) |
const std::string & | interface_name () const |
void | set_interface (const std::string &i) |
const std::string & | name () const |
void | set_name (const std::string &n) |
const Path & | path () const |
void | set_path (const std::string &s) |
const std::string & | destination () const |
void | set_destination (const std::string &s) |
virtual std::string | introspect (int space_depth=0) const |
This method is needed to be able to create a duplicate of a child capable of parsing their specific template type message. More... | |
virtual std::string | arg_name (size_t i) |
virtual void | set_arg_name (size_t i, const std::string &name) |
Static Public Member Functions | |
static std::shared_ptr< SignalProxy > | create (const SignalMatchRule &matchRule) |
Protected Member Functions | |
HandlerResult | on_dbus_incoming (std::shared_ptr< const SignalMessage > msg) |
Protected Member Functions inherited from DBus::SignalProxyBase | |
SignalProxyBase (const SignalMatchRule &matchRule) | |
virtual | ~SignalProxyBase () |
bool | matches (std::shared_ptr< const SignalMessage > msg) |
Protected Member Functions inherited from DBus::SignalBase | |
SignalBase (const std::string &path, const std::string &interface_name, const std::string &name) | |
SignalBase (const std::string &interface_name, const std::string &name) | |
SignalBase (std::weak_ptr< Connection > connection, const std::string &path, const std::string &interface_name, const std::string &name) | |
SignalBase (std::weak_ptr< Connection > connection, const std::string &interface_name, const std::string &name) | |
bool | handle_dbus_outgoing (std::shared_ptr< const Message >) |
Subclass of the sigc::signal templates.
A signal_proxy allows you to listen for signals that are emitted by other applications on the DBus. Note that because DBus signals never have a return type, neither can the handling function.
|
inline |
|
inlinestatic |
|
inlineprotectedvirtual |
Implements DBus::SignalProxyBase.
References DBUSCXX_DEBUG_STDSTR, DBus::Handled, and DBus::Not_Handled.