DBus::Method< T_type > Class Template Reference

#include <methodbase.h>

Inheritance diagram for DBus::Method< T_type >:

Public Member Functions

void set_method (sigc::slot< T_type > slot)
 
virtual std::string introspect (int space_depth=0) const
 
virtual HandlerResult handle_call_message (std::shared_ptr< Connection > connection, std::shared_ptr< const CallMessage > message)
 
- Public Member Functions inherited from DBus::MethodBase
virtual ~MethodBase ()
 
const std::string & name () const
 
std::string arg_name (size_t i) const
 
void set_arg_name (size_t i, const std::string &name)
 
const std::vector< std::string > & arg_names () const
 

Static Public Member Functions

static std::shared_ptr< Method< T_type > > create (const std::string &name)
 

Private Member Functions

 Method (const std::string &name)
 

Private Attributes

sigc::slot< T_type > m_slot
 

Additional Inherited Members

- Protected Member Functions inherited from DBus::MethodBase
 MethodBase (const std::string &name)
 
uint32_t sendMessage (std::shared_ptr< Connection > connection, const std::shared_ptr< const Message >)
 

Constructor & Destructor Documentation

◆ Method()

template<typename T_type >
DBus::Method< T_type >::Method ( const std::string &  name)
inlineprivate

Member Function Documentation

◆ create()

template<typename T_type >
static std::shared_ptr<Method<T_type> > DBus::Method< T_type >::create ( const std::string &  name)
inlinestatic

◆ handle_call_message()

◆ introspect()

template<typename T_type >
virtual std::string DBus::Method< T_type >::introspect ( int  space_depth = 0) const
inlinevirtual

◆ set_method()

template<typename T_type >
void DBus::Method< T_type >::set_method ( sigc::slot< T_type >  slot)
inline

Member Data Documentation

◆ m_slot

template<typename T_type >
sigc::slot<T_type> DBus::Method< T_type >::m_slot
private

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