Subclass of sigc::signal. More...
#include <signal.h>
Public Member Functions | |
virtual std::string | introspect (int space_depth=0) const |
Returns a DBus XML description of this interface. More... | |
virtual std::string | arg_name (size_t i) |
virtual void | set_arg_name (size_t i, const std::string &name) |
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) |
Static Public Member Functions | |
static std::shared_ptr< Signal > | create (const std::string &path, const std::string &interface_name, const std::string &member) |
Protected Member Functions | |
void | internal_callback (T_type... args) |
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 >) |
Protected Attributes | |
std::vector< std::string > | m_arg_names |
sigc::connection | m_internal_callback_connection |
Private Member Functions | |
Signal (const std::string &path, const std::string &interface_name, const std::string &member) | |
Friends | |
class | Interface |
Subclass of sigc::signal.
This class defines a subclass of the sigc::signal types and can be used as its parent. The key difference is that when the signal is emitted a DBus signal message is created using the parameters of the signal emission and transmitted via the dbus in addition to any local signal propagation that may take place.
|
inlineprivate |
|
inlinevirtual |
Reimplemented from DBus::SignalBase.
|
inlinestatic |
|
inlineprotected |
References DBus::SignalMessage::create(), and DBUSCXX_DEBUG_STDSTR.
|
inlinevirtual |
Returns a DBus XML description of this interface.
Reimplemented from DBus::SignalBase.
|
inlinevirtual |
Reimplemented from DBus::SignalBase.
|
friend |
|
protected |
|
protected |