A builder to create match rules. More...
#include <matchrule.h>
Public Member Functions | |
MatchRuleBuilder & | set_path (const std::string &path) |
MatchRuleBuilder & | set_interface (const std::string &interface_name) |
MatchRuleBuilder & | set_member (const std::string &member) |
MatchRuleBuilder & | set_sender (const std::string &sender) |
MatchRuleBuilder & | set_destination (const std::string &destination) |
SignalMatchRule | as_signal_match () |
MethodCallMatchRule | as_method_call_match () |
MethodReturnMatchRule | as_method_return_match () |
ErrorMatchRule | as_error_match () |
Static Public Member Functions | |
static MatchRuleBuilder | create () |
Protected Member Functions | |
MatchRuleBuilder () | |
Private Attributes | |
std::shared_ptr< MatchRuleData > | m_priv |
A builder to create match rules.
When you are done building the match rule, call the appropriate method(asSignalMatch, asMethodCallMatch, etc).
|
protected |
ErrorMatchRule MatchRuleBuilder::as_error_match | ( | ) |
References m_priv.
MethodCallMatchRule MatchRuleBuilder::as_method_call_match | ( | ) |
References m_priv.
MethodReturnMatchRule MatchRuleBuilder::as_method_return_match | ( | ) |
References m_priv.
SignalMatchRule MatchRuleBuilder::as_signal_match | ( | ) |
References m_priv.
Referenced by DBus::InterfaceProxy::create_signal(), DBus::InterfaceProxy::set_object(), and DBus::SignalProxyBase::update_match_rule().
|
static |
MatchRuleBuilder & MatchRuleBuilder::set_destination | ( | const std::string & | destination | ) |
References m_priv.
MatchRuleBuilder & MatchRuleBuilder::set_interface | ( | const std::string & | interface_name | ) |
References m_priv.
Referenced by DBus::InterfaceProxy::create_signal(), DBus::InterfaceProxy::set_object(), and DBus::SignalProxyBase::update_match_rule().
MatchRuleBuilder & MatchRuleBuilder::set_member | ( | const std::string & | member | ) |
References m_priv.
Referenced by DBus::InterfaceProxy::create_signal(), DBus::InterfaceProxy::set_object(), and DBus::SignalProxyBase::update_match_rule().
MatchRuleBuilder & MatchRuleBuilder::set_path | ( | const std::string & | path | ) |
References m_priv.
Referenced by DBus::InterfaceProxy::create_signal(), DBus::InterfaceProxy::set_object(), and DBus::SignalProxyBase::update_match_rule().
MatchRuleBuilder & MatchRuleBuilder::set_sender | ( | const std::string & | sender | ) |
References m_priv.
|
private |