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

#include <method.h>

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

Public Types

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::slot1< T_return, T_arg1 > slot)
 
virtual MethodBase::pointer clone ()
 
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::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)
 

Protected Attributes

std::string m_arg_names [1+1]
 
sigc::slot1< T_return, T_arg1 > 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. More...
 
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_return, class T_arg1>
class DBus::Method< T_return, T_arg1, nil, 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_return , class T_arg1 >
typedef DBusCxxPointer<Method> DBus::Method< T_return, T_arg1, nil, nil, nil, nil, nil, nil >::pointer

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

template<class T_return , class T_arg1 >
std::string DBus::Method< T_return, T_arg1, nil, nil, nil, nil, nil, nil >::m_arg_names[1+1]
protected
template<class T_return , class T_arg1 >
sigc::slot1<T_return, T_arg1> DBus::Method< T_return, T_arg1, nil, nil, nil, nil, nil, nil >::m_slot
protected

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