LeechCraft 0.6.70-18808-g3467692359
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::DBus::Endpoint Struct Reference

#include "async.h"

Inheritance diagram for LC::Util::DBus::Endpoint:

Public Member Functions

UTIL_DBUS_API AsyncReply< QVariant > GetRawProperty (const QString &property) const
UTIL_DBUS_API AsyncReply< QVariantMap > GetAllProperties () const
template<typename T>
Task< Either< QDBusError, T > > GetProperty (QString property) const
template<typename... Rets, typename... Args>
AsyncReply< Rets... > Call (const QString &method, Args &&... args) const

Public Attributes

QString Service
QString Path
QString Interface
QDBusConnection Conn = QDBusConnection::sessionBus ()

Detailed Description

Definition at line 22 of file async.h.

Member Function Documentation

◆ Call()

template<typename... Rets, typename... Args>
AsyncReply< Rets... > LC::Util::DBus::Endpoint::Call ( const QString & method,
Args &&... args ) const
inline

Definition at line 48 of file async.h.

References Conn, Interface, Path, and Service.

◆ GetAllProperties()

AsyncReply< QVariantMap > LC::Util::DBus::Endpoint::GetAllProperties ( ) const

Definition at line 26 of file async.cpp.

References Conn, Interface, Path, and Service.

◆ GetProperty()

template<typename T>
Task< Either< QDBusError, T > > LC::Util::DBus::Endpoint::GetProperty ( QString property) const
inline

Definition at line 33 of file async.h.

References GetRawProperty().

Here is the call graph for this function:

◆ GetRawProperty()

AsyncReply< QVariant > LC::Util::DBus::Endpoint::GetRawProperty ( const QString & property) const

Definition at line 16 of file async.cpp.

References Conn, Interface, Path, and Service.

Referenced by GetProperty().

Here is the caller graph for this function:

Member Data Documentation

◆ Conn

QDBusConnection LC::Util::DBus::Endpoint::Conn = QDBusConnection::sessionBus ()

Definition at line 27 of file async.h.

Referenced by Call(), GetAllProperties(), and GetRawProperty().

◆ Interface

QString LC::Util::DBus::Endpoint::Interface

Definition at line 26 of file async.h.

Referenced by Call(), GetAllProperties(), and GetRawProperty().

◆ Path

QString LC::Util::DBus::Endpoint::Path

Definition at line 25 of file async.h.

Referenced by Call(), GetAllProperties(), and GetRawProperty().

◆ Service

QString LC::Util::DBus::Endpoint::Service

Definition at line 24 of file async.h.

Referenced by Call(), GetAllProperties(), and GetRawProperty().


The documentation for this struct was generated from the following files:
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.18808.g3467692359-build/leechcraft-0.6.70-18808-g3467692359/src/util/dbus/async.h
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.18808.g3467692359-build/leechcraft-0.6.70-18808-g3467692359/src/util/dbus/async.cpp