dbus-cxx logo
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DBus::signal_base Class Reference

#include <signal_base.h>

Inheritance diagram for DBus::signal_base:
Inheritance graph
[legend]

Public Types

typedef DBusCxxPointer
< signal_base
pointer

Public Member Functions

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 pointer clone ()=0
 This method is needed to be able to create a duplicate of a child capable of parsing their specific template type message.
virtual std::string introspect (int space_depth=0) const
 Returns a DBus XML description of this interface.
virtual std::string arg_name (size_t i)
virtual void set_arg_name (size_t i, const std::string &name)

Protected Member Functions

 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)

Protected Attributes

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

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

Member Typedef Documentation

typedef DBusCxxPointer<signal_base> DBus::signal_base::pointer

Constructor & Destructor Documentation

DBus::signal_base::signal_base ( const std::string &  path,
const std::string &  interface,
const std::string &  name 
)
protected
DBus::signal_base::signal_base ( const std::string &  interface,
const std::string &  name 
)
protected
DBus::signal_base::signal_base ( DBusCxxPointer< Connection connection,
const std::string &  path,
const std::string &  interface,
const std::string &  name 
)
protected
DBus::signal_base::signal_base ( DBusCxxPointer< Connection connection,
const std::string &  interface,
const std::string &  name 
)
protected
DBus::signal_base::signal_base ( const signal_base other)
protected
DBus::signal_base::~signal_base ( )
virtual

Member Function Documentation

virtual std::string DBus::signal_base::arg_name ( size_t  i)
inlinevirtual
virtual pointer DBus::signal_base::clone ( )
pure virtual
DBusCxxPointer< Connection > DBus::signal_base::connection ( )

References m_connection.

const std::string & DBus::signal_base::destination ( ) const

References m_destination.

bool DBus::signal_base::handle_dbus_outgoing ( Message::const_pointer  msg)
protected
const std::string & DBus::signal_base::interface ( ) const

References m_interface.

virtual std::string DBus::signal_base::introspect ( int  space_depth = 0) const
inlinevirtual
const std::string & DBus::signal_base::name ( ) const

References m_name.

Referenced by DBus::Connection::add_signal_proxy(), DBus::signal< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::introspect(), DBus::signal< T_return, nil, nil, nil, nil, nil, nil, nil >::introspect(), DBus::signal< T_return, T_arg1, nil, nil, nil, nil, nil, nil >::introspect(), DBus::signal< T_return, T_arg1, T_arg2, nil, nil, nil, nil, nil >::introspect(), DBus::signal< T_return, T_arg1, T_arg2, T_arg3, nil, nil, nil, nil >::introspect(), DBus::signal< T_return, T_arg1, T_arg2, T_arg3, T_arg4, nil, nil, nil >::introspect(), DBus::signal< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, nil, nil >::introspect(), DBus::signal< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, nil >::introspect(), DBus::Connection::remove_signal_proxy(), DBus::signal< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::set_arg_name(), DBus::signal< T_return, nil, nil, nil, nil, nil, nil, nil >::set_arg_name(), DBus::signal< T_return, T_arg1, nil, nil, nil, nil, nil, nil >::set_arg_name(), DBus::signal< T_return, T_arg1, T_arg2, nil, nil, nil, nil, nil >::set_arg_name(), DBus::signal< T_return, T_arg1, T_arg2, T_arg3, nil, nil, nil, nil >::set_arg_name(), DBus::signal< T_return, T_arg1, T_arg2, T_arg3, T_arg4, nil, nil, nil >::set_arg_name(), DBus::signal< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, nil, nil >::set_arg_name(), and DBus::signal< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, nil >::set_arg_name().

const Path & DBus::signal_base::path ( ) const

References m_path.

const std::string & DBus::signal_base::sender ( ) const

References m_sender.

virtual void DBus::signal_base::set_arg_name ( size_t  i,
const std::string &  name 
)
inlinevirtual
void DBus::signal_base::set_connection ( DBusCxxPointer< Connection connection)
void DBus::signal_base::set_destination ( const std::string &  s)

References m_destination.

void DBus::signal_base::set_interface ( const std::string &  i)

References m_interface.

void DBus::signal_base::set_name ( const std::string &  n)

References m_name.

void DBus::signal_base::set_path ( const std::string &  s)

References m_path.

void DBus::signal_base::set_sender ( const std::string &  s)

References m_sender.

Member Data Documentation

DBusCxxWeakPointer<Connection> DBus::signal_base::m_connection
protected

Referenced by connection(), and handle_dbus_outgoing().

std::string DBus::signal_base::m_destination
protected
std::string DBus::signal_base::m_interface
protected
std::string DBus::signal_base::m_match_rule
protected
std::string DBus::signal_base::m_name
protected
Path DBus::signal_base::m_path
protected
std::string DBus::signal_base::m_sender
protected

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

Generated on Sat Sep 21 2013 17:22:40 for dbus-cxx by doxygen 1.8.1.2