dbus-cxx logo
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil > Class Template Reference

#include <method.h>

Inheritance diagram for DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >:
Inheritance graph
[legend]

Public Types

typedef DBusCxxPointer< Methodpointer
typedef DBusCxxPointer< Methodpointer
- Public Types inherited from DBus::MethodBase
typedef DBusCxxPointer
< MethodBase
pointer

Public Member Functions

 Method (const std::string &name)
virtual ~Method ()
virtual HandlerResult handle_call_message (DBusCxxPointer< Connection > connection, CallMessage::const_pointer message)
void set_method (sigc::slot2< void, T_arg1, T_arg2 > slot)
virtual MethodBase::pointer clone ()
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)
 Method (const std::string &name)
virtual HandlerResult handle_call_message (DBusCxxPointer< Connection > connection, CallMessage::const_pointer message)
void set_method (sigc::slot2< void, T_arg1, T_arg2 > slot)
virtual MethodBase::pointer clone ()
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)
- Public Member Functions inherited from DBus::MethodBase
virtual ~MethodBase ()
const std::string & name () const
void set_name (const std::string &name)
sigc::signal< void, const
std::string &, const
std::string & > 
signal_name_changed ()

Static Public Member Functions

static pointer create (const std::string &name)
static pointer create (const std::string &name)

Protected Attributes

std::string m_arg_names [2+1]
sigc::slot2< void, T_arg1, T_arg2 > m_slot
- Protected Attributes inherited from DBus::MethodBase
std::string m_name
pthread_mutex_t m_name_mutex
 Ensures that the name doesn't change while the name changed signal is emitting.
sigc::signal< void, const
std::string &, const
std::string & > 
m_signal_name_changed

Additional Inherited Members

- Protected Member Functions inherited from DBus::MethodBase
 MethodBase (const std::string &name)
 MethodBase (const MethodBase &other)

Detailed Description

template<class T_arg1, class T_arg2>
class DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >

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

Member Typedef Documentation

template<class T_arg1 , class T_arg2 >
typedef DBusCxxPointer<Method> DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >::pointer
template<class T_arg1 , class T_arg2 >
typedef DBusCxxPointer<Method> DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >::pointer

Constructor & Destructor Documentation

template<class T_arg1 , class T_arg2 >
DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >::Method ( const std::string &  name)
inline
template<class T_arg1 , class T_arg2 >
virtual DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >::~Method ( )
inlinevirtual
template<class T_arg1 , class T_arg2 >
DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >::Method ( const std::string &  name)
inline

Member Function Documentation

template<class T_arg1 , class T_arg2 >
virtual std::string DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >::arg_name ( size_t  i)
inlinevirtual
template<class T_arg1 , class T_arg2 >
virtual std::string DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >::arg_name ( size_t  i)
inlinevirtual
template<class T_arg1 , class T_arg2 >
virtual MethodBase::pointer DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >::clone ( )
inlinevirtual
template<class T_arg1 , class T_arg2 >
virtual MethodBase::pointer DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >::clone ( )
inlinevirtual
template<class T_arg1 , class T_arg2 >
static pointer DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >::create ( const std::string &  name)
inlinestatic
template<class T_arg1 , class T_arg2 >
static pointer DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >::create ( const std::string &  name)
inlinestatic
template<class T_arg1 , class T_arg2 >
virtual HandlerResult DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >::handle_call_message ( DBusCxxPointer< Connection connection,
CallMessage::const_pointer  message 
)
inlinevirtual
template<class T_arg1 , class T_arg2 >
virtual HandlerResult DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >::handle_call_message ( DBusCxxPointer< Connection connection,
CallMessage::const_pointer  message 
)
inlinevirtual
template<class T_arg1 , class T_arg2 >
virtual std::string DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >::introspect ( int  space_depth = 0) const
inlinevirtual
template<class T_arg1 , class T_arg2 >
virtual std::string DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >::introspect ( int  space_depth = 0) const
inlinevirtual
template<class T_arg1 , class T_arg2 >
virtual void DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >::set_arg_name ( size_t  i,
const std::string &  name 
)
inlinevirtual
template<class T_arg1 , class T_arg2 >
virtual void DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >::set_arg_name ( size_t  i,
const std::string &  name 
)
inlinevirtual
template<class T_arg1 , class T_arg2 >
void DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >::set_method ( sigc::slot2< void, T_arg1, T_arg2 >  slot)
inline
template<class T_arg1 , class T_arg2 >
void DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >::set_method ( sigc::slot2< void, T_arg1, T_arg2 >  slot)
inline

Member Data Documentation

template<class T_arg1 , class T_arg2 >
std::string DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >::m_arg_names
protected
template<class T_arg1 , class T_arg2 >
sigc::slot2< void, T_arg1, T_arg2 > DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >::m_slot
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