DBus::SignalProxy< void(T_arg...)> Class Template Reference

Subclass of the sigc::signal templates. More...

#include <signalproxy.h>

Inheritance diagram for DBus::SignalProxy< void(T_arg...)>:

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< Connectionconnection ()
 
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 Pathpath () 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< SignalProxycreate (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 >)
 

Detailed Description

template<typename... T_arg>
class DBus::SignalProxy< void(T_arg...)>

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.

Author
Rick L Vinyard Jr rviny.nosp@m.ard@.nosp@m.cs.nm.nosp@m.su.e.nosp@m.du

Constructor & Destructor Documentation

◆ SignalProxy()

template<typename... T_arg>
DBus::SignalProxy< void(T_arg...)>::SignalProxy ( const SignalMatchRule matchRule)
inline

Member Function Documentation

◆ create()

template<typename... T_arg>
static std::shared_ptr<SignalProxy> DBus::SignalProxy< void(T_arg...)>::create ( const SignalMatchRule matchRule)
inlinestatic

◆ on_dbus_incoming()

template<typename... T_arg>
HandlerResult DBus::SignalProxy< void(T_arg...)>::on_dbus_incoming ( std::shared_ptr< const SignalMessage msg)
inlineprotectedvirtual

The documentation for this class was generated from the following file: