DBus::MatchRuleBuilder Class Reference

A builder to create match rules. More...

#include <matchrule.h>

Public Member Functions

MatchRuleBuilderset_path (const std::string &path)
 
MatchRuleBuilderset_interface (const std::string &interface_name)
 
MatchRuleBuilderset_member (const std::string &member)
 
MatchRuleBuilderset_sender (const std::string &sender)
 
MatchRuleBuilderset_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
 

Detailed Description

A builder to create match rules.

When you are done building the match rule, call the appropriate method(asSignalMatch, asMethodCallMatch, etc).

Constructor & Destructor Documentation

◆ MatchRuleBuilder()

MatchRuleBuilder::MatchRuleBuilder ( )
protected

Member Function Documentation

◆ as_error_match()

ErrorMatchRule MatchRuleBuilder::as_error_match ( )

References m_priv.

◆ as_method_call_match()

MethodCallMatchRule MatchRuleBuilder::as_method_call_match ( )

References m_priv.

◆ as_method_return_match()

MethodReturnMatchRule MatchRuleBuilder::as_method_return_match ( )

References m_priv.

◆ as_signal_match()

◆ create()

◆ set_destination()

MatchRuleBuilder & MatchRuleBuilder::set_destination ( const std::string &  destination)

References m_priv.

◆ set_interface()

MatchRuleBuilder & MatchRuleBuilder::set_interface ( const std::string &  interface_name)

◆ set_member()

MatchRuleBuilder & MatchRuleBuilder::set_member ( const std::string &  member)

◆ set_path()

MatchRuleBuilder & MatchRuleBuilder::set_path ( const std::string &  path)

◆ set_sender()

MatchRuleBuilder & MatchRuleBuilder::set_sender ( const std::string &  sender)

References m_priv.

Member Data Documentation

◆ m_priv

std::shared_ptr<MatchRuleData> DBus::MatchRuleBuilder::m_priv
private

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