14 #ifndef DBUSCXX_SIGNALBASE_H
15 #define DBUSCXX_SIGNALBASE_H
53 const std::string&
sender()
const;
61 const std::string&
name()
const;
63 void set_name(
const std::string& n );
67 void set_path(
const std::string& s );
80 virtual std::string
introspect(
int space_depth = 0 )
const {
return std::string(); }
82 virtual std::string
arg_name(
size_t i ) {
return std::string(); }
Represents a DBus Path.
Definition: path.h:21
Base class of all signals(proxy and adapter).
Definition: signalbase.h:35
void set_path(const std::string &s)
Definition: signalbase.cpp:95
const std::string & interface_name() const
Definition: signalbase.cpp:75
virtual void set_arg_name(size_t i, const std::string &name)
Definition: signalbase.h:84
const std::string & sender() const
Definition: signalbase.cpp:67
const std::string & name() const
Definition: signalbase.cpp:83
void set_interface(const std::string &i)
Definition: signalbase.cpp:79
void set_connection(std::weak_ptr< Connection > connection)
Definition: signalbase.cpp:63
virtual std::string arg_name(size_t i)
Definition: signalbase.h:82
virtual std::string introspect(int space_depth=0) const
This method is needed to be able to create a duplicate of a child capable of parsing their specific t...
Definition: signalbase.h:80
const Path & path() const
Definition: signalbase.cpp:91
void set_name(const std::string &n)
Definition: signalbase.cpp:87
const std::string & destination() const
Definition: signalbase.cpp:99
virtual ~SignalBase()
Definition: signalbase.cpp:56
bool handle_dbus_outgoing(std::shared_ptr< const Message >)
Definition: signalbase.cpp:107
std::shared_ptr< Connection > connection()
Definition: signalbase.cpp:59
DBUS_CXX_PROPAGATE_CONST(std::unique_ptr< priv_data >) m_priv
void set_destination(const std::string &s)
Definition: signalbase.cpp:103
SignalBase(const std::string &path, const std::string &interface_name, const std::string &name)
Definition: signalbase.cpp:28
void set_sender(const std::string &s)
Definition: signalbase.cpp:71
Global DBus namespace, where everything happens.
Definition: callmessage.cpp:18