8 #ifndef DBUSCXX_MATCH_RULE_H
9 #define DBUSCXX_MATCH_RULE_H
17 class MatchRuleBuilder;
25 MatchRule( std::string
type,
const std::shared_ptr<MatchRuleData> );
30 std::string
path()
const;
34 std::string
member()
const;
Definition: matchrule.h:66
ErrorMatchRule(std::shared_ptr< MatchRuleData >)
Definition: matchrule.cpp:139
A builder to create match rules.
Definition: matchrule.h:77
MatchRuleBuilder & set_interface(const std::string &interface_name)
Definition: matchrule.cpp:43
MatchRuleBuilder & set_path(const std::string &path)
Definition: matchrule.cpp:38
MatchRuleBuilder & set_destination(const std::string &destination)
Definition: matchrule.cpp:58
SignalMatchRule as_signal_match()
Definition: matchrule.cpp:63
ErrorMatchRule as_error_match()
Definition: matchrule.cpp:81
MatchRuleBuilder & set_sender(const std::string &sender)
Definition: matchrule.cpp:53
static MatchRuleBuilder create()
Definition: matchrule.cpp:87
MethodCallMatchRule as_method_call_match()
Definition: matchrule.cpp:69
MatchRuleBuilder()
Definition: matchrule.cpp:34
std::shared_ptr< MatchRuleData > m_priv
Definition: matchrule.h:103
MatchRuleBuilder & set_member(const std::string &member)
Definition: matchrule.cpp:48
MethodReturnMatchRule as_method_return_match()
Definition: matchrule.cpp:75
Immutable class that represents a match rule for DBus.
Definition: matchrule.h:23
DBUS_CXX_PROPAGATE_CONST(std::shared_ptr< MatchRuleData >) m_priv
std::string match_rule() const
Definition: matchrule.cpp:110
std::string path() const
Definition: matchrule.cpp:98
MatchRule(std::string type, const std::shared_ptr< MatchRuleData >)
Definition: matchrule.cpp:93
std::string member() const
Definition: matchrule.cpp:106
std::string dbus_interface() const
Definition: matchrule.cpp:102
Definition: matchrule.h:52
MethodCallMatchRule(std::shared_ptr< MatchRuleData >)
Definition: matchrule.cpp:131
Definition: matchrule.h:59
MethodReturnMatchRule(std::shared_ptr< MatchRuleData >)
Definition: matchrule.cpp:135
A special MatchRule for signals.
Definition: matchrule.h:45
SignalMatchRule(std::shared_ptr< MatchRuleData >)
Definition: matchrule.cpp:127
Global DBus namespace, where everything happens.
Definition: callmessage.cpp:18
DataType type(const uint8_t &)
Definition: types.h:137