dbus-cxx logo
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 > Class Template Reference

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

#include <signal_proxy.h>

Inheritance diagram for DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >:
Inheritance graph
[legend]

Public Types

typedef DBusCxxPointer
< signal_proxy
pointer
 
- Public Types inherited from DBus::signal_proxy_base
typedef DBusCxxPointer
< signal_proxy_base
pointer
 
- Public Types inherited from DBus::signal_base
typedef DBusCxxPointer
< signal_base
pointer
 

Public Member Functions

 signal_proxy (const std::string &interface, const std::string &name)
 
 signal_proxy (const std::string &path, const std::string &interface, const std::string &name)
 
 signal_proxy (const std::string &interface, const std::string &name, const signal_proxy &src)
 
 signal_proxy (const std::string &path, const std::string &interface, const std::string &name, const signal_proxy &src)
 
virtual signal_base::pointer clone ()
 
- Public Member Functions inherited from DBus::signal_proxy_base
 signal_proxy_base (const std::string &path, const std::string &interface, const std::string &name)
 
 signal_proxy_base (const std::string &interface, const std::string &name)
 
 signal_proxy_base (DBusCxxPointer< Connection > connection, const std::string &path, const std::string &interface, const std::string &name)
 
 signal_proxy_base (DBusCxxPointer< Connection > connection, const std::string &interface, const std::string &name)
 
 signal_proxy_base (const signal_proxy_base &other)
 
virtual ~signal_proxy_base ()
 
virtual HandlerResult handle_signal (SignalMessage::const_pointer)
 
sigc::signal< HandlerResult,
SignalMessage::const_pointer >
::accumulated
< MessageHandlerAccumulator
signal_dbus_incoming ()
 
const std::string & match_rule ()
 
bool matches (Message::const_pointer msg)
 
- Public Member Functions inherited from DBus::signal_base
virtual ~signal_base ()
 
DBusCxxPointer< Connectionconnection ()
 
void set_connection (DBusCxxPointer< Connection > connection)
 
const std::string & sender () const
 
void set_sender (const std::string &s)
 
const std::string & interface () 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
 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)
 

Static Public Member Functions

static pointer create (const std::string &interface, const std::string &name)
 
static pointer create (const std::string &path, const std::string &interface, const std::string &name)
 
static pointer create (const std::string &interface, const std::string &name, const signal_proxy &src)
 
static pointer create (const std::string &path, const std::string &interface, const std::string &name, const signal_proxy &src)
 

Protected Member Functions

virtual HandlerResult on_dbus_incoming (SignalMessage::const_pointer msg)
 
- Protected Member Functions inherited from DBus::signal_base
 signal_base (const std::string &path, const std::string &interface, const std::string &name)
 
 signal_base (const std::string &interface, const std::string &name)
 
 signal_base (DBusCxxPointer< Connection > connection, const std::string &path, const std::string &interface, const std::string &name)
 
 signal_base (DBusCxxPointer< Connection > connection, const std::string &interface, const std::string &name)
 
 signal_base (const signal_base &other)
 
bool handle_dbus_outgoing (Message::const_pointer)
 

Additional Inherited Members

- Protected Attributes inherited from DBus::signal_proxy_base
std::string m_match_rule
 
sigc::signal< HandlerResult,
SignalMessage::const_pointer >
::accumulated
< MessageHandlerAccumulator
m_signal_dbus_incoming
 
- Protected Attributes inherited from DBus::signal_base
DBusCxxWeakPointer< Connectionm_connection
 
std::string m_sender
 
Path m_path
 
std::string m_interface
 
std::string m_name
 
std::string m_destination
 
std::string m_match_rule
 

Detailed Description

template<class T_return, class T_arg1 = nil, class T_arg2 = nil, class T_arg3 = nil, class T_arg4 = nil, class T_arg5 = nil, class T_arg6 = nil, class T_arg7 = nil>
class DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >

Subclass of the numbered sigc::signal templates.

Author
Rick L Vinyard Jr rviny.nosp@m.ard@.nosp@m.cs.nm.nosp@m.su.e.nosp@m.du
Examples:
calculator_client.cpp, calculator_watcher.cpp, and signal_receiver_object.cpp.

Member Typedef Documentation

template<class T_return, class T_arg1 = nil, class T_arg2 = nil, class T_arg3 = nil, class T_arg4 = nil, class T_arg5 = nil, class T_arg6 = nil, class T_arg7 = nil>
typedef DBusCxxPointer<signal_proxy> DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::pointer

Constructor & Destructor Documentation

template<class T_return, class T_arg1 = nil, class T_arg2 = nil, class T_arg3 = nil, class T_arg4 = nil, class T_arg5 = nil, class T_arg6 = nil, class T_arg7 = nil>
DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::signal_proxy ( const std::string &  interface,
const std::string &  name 
)
inline

References DBus::signal_proxy_base::m_signal_dbus_incoming, and DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::on_dbus_incoming().

Referenced by DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::clone(), DBus::signal_proxy< T_return, nil, nil, nil, nil, nil, nil, nil >::clone(), DBus::signal_proxy< T_return, T_arg1, nil, nil, nil, nil, nil, nil >::clone(), DBus::signal_proxy< T_return, T_arg1, T_arg2, nil, nil, nil, nil, nil >::clone(), DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, nil, nil, nil, nil >::clone(), DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, nil, nil, nil >::clone(), DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, nil, nil >::clone(), DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, nil >::clone(), DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::create(), DBus::signal_proxy< T_return, nil, nil, nil, nil, nil, nil, nil >::create(), DBus::signal_proxy< T_return, T_arg1, nil, nil, nil, nil, nil, nil >::create(), DBus::signal_proxy< T_return, T_arg1, T_arg2, nil, nil, nil, nil, nil >::create(), DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, nil, nil, nil, nil >::create(), DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, nil, nil, nil >::create(), DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, nil, nil >::create(), and DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, nil >::create().

template<class T_return, class T_arg1 = nil, class T_arg2 = nil, class T_arg3 = nil, class T_arg4 = nil, class T_arg5 = nil, class T_arg6 = nil, class T_arg7 = nil>
DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::signal_proxy ( const std::string &  path,
const std::string &  interface,
const std::string &  name 
)
inline
template<class T_return, class T_arg1 = nil, class T_arg2 = nil, class T_arg3 = nil, class T_arg4 = nil, class T_arg5 = nil, class T_arg6 = nil, class T_arg7 = nil>
DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::signal_proxy ( const std::string &  interface,
const std::string &  name,
const signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 > &  src 
)
inline
template<class T_return, class T_arg1 = nil, class T_arg2 = nil, class T_arg3 = nil, class T_arg4 = nil, class T_arg5 = nil, class T_arg6 = nil, class T_arg7 = nil>
DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::signal_proxy ( const std::string &  path,
const std::string &  interface,
const std::string &  name,
const signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 > &  src 
)
inline

Member Function Documentation

template<class T_return, class T_arg1 = nil, class T_arg2 = nil, class T_arg3 = nil, class T_arg4 = nil, class T_arg5 = nil, class T_arg6 = nil, class T_arg7 = nil>
virtual signal_base::pointer DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::clone ( )
inlinevirtual
template<class T_return, class T_arg1 = nil, class T_arg2 = nil, class T_arg3 = nil, class T_arg4 = nil, class T_arg5 = nil, class T_arg6 = nil, class T_arg7 = nil>
static pointer DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::create ( const std::string &  interface,
const std::string &  name 
)
inlinestatic
template<class T_return, class T_arg1 = nil, class T_arg2 = nil, class T_arg3 = nil, class T_arg4 = nil, class T_arg5 = nil, class T_arg6 = nil, class T_arg7 = nil>
static pointer DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::create ( const std::string &  path,
const std::string &  interface,
const std::string &  name 
)
inlinestatic
template<class T_return, class T_arg1 = nil, class T_arg2 = nil, class T_arg3 = nil, class T_arg4 = nil, class T_arg5 = nil, class T_arg6 = nil, class T_arg7 = nil>
static pointer DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::create ( const std::string &  interface,
const std::string &  name,
const signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 > &  src 
)
inlinestatic
template<class T_return, class T_arg1 = nil, class T_arg2 = nil, class T_arg3 = nil, class T_arg4 = nil, class T_arg5 = nil, class T_arg6 = nil, class T_arg7 = nil>
static pointer DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::create ( const std::string &  path,
const std::string &  interface,
const std::string &  name,
const signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 > &  src 
)
inlinestatic
template<class T_return, class T_arg1 = nil, class T_arg2 = nil, class T_arg3 = nil, class T_arg4 = nil, class T_arg5 = nil, class T_arg6 = nil, class T_arg7 = nil>
virtual HandlerResult DBus::signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::on_dbus_incoming ( SignalMessage::const_pointer  msg)
inlineprotectedvirtual

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

Generated on Sun Mar 19 2017 14:54:27 for dbus-cxx by doxygen 1.8.8