Fcitx
Public Member Functions | Static Public Attributes | List of all members
fcitx::dbus::MatchRule Struct Reference

A dbus matching rule to be used with add match. More...

#include <fcitx-utils/dbus/matchrule.h>

Public Member Functions

 MatchRule (std::string service, std::string path="", std::string interface="", std::string name="", std::vector< std::string > argumentMatch={})
 
 MatchRule (MessageType type, std::string service, std::string destination="", std::string path="", std::string interface="", std::string name="", std::vector< std::string > argumentMatch={}, bool eavesdrop=false)
 
MessageType messageType () const noexcept
 
const std::string & rule () const noexcept
 
const std::string & service () const noexcept
 
const std::string & destination () const noexcept
 
const std::string & path () const noexcept
 
const std::string & interface () const noexcept
 
const std::string & name () const noexcept
 
const std::vector< std::string > & argumentMatch () const noexcept
 
bool eavesdrop () const noexcept
 
bool check (Message &, const std::string &alterName={}) const
 
bool operator== (const MatchRule &other) const
 
bool operator!= (const MatchRule &other) const
 

Static Public Attributes

static const std::string nullArg {nullArray, nullArray + 1}
 

Detailed Description

A dbus matching rule to be used with add match.

Usually it is used to monitor certain signals on the bus.

See also
dbus::Bus::addMatch

Definition at line 36 of file matchrule.h.


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