![]() |
dbus-cxx
|
#include <methodbase.h>
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) |
![]() | |
virtual | ~MethodBase () |
const std::string & | name () const |
virtual HandlerResult | handle_call_message (std::shared_ptr< Connection > connection, std::shared_ptr< const CallMessage > message)=0 |
virtual std::string | introspect (int=0) const |
Returns a DBus XML description of this interface. More... | |
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 | |
![]() | |
MethodBase (const std::string &name) | |
uint32_t | sendMessage (std::shared_ptr< Connection > connection, const std::shared_ptr< const Message >) |
|
inlineprivate |
|
inlinestatic |
References DBus::MethodBase::name().
Referenced by DBus::Interface::create_method().
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from DBus::MethodBase.
References DBus::MethodBase::arg_names(), and DBus::MethodBase::name().
|
inline |
References DBus::Method< T_type >::m_slot.
|
private |
Referenced by DBus::Method< T_type >::handle_call_message(), and DBus::Method< T_type >::set_method().