Configured endpoint for a single D-Bus service the settings app talks to. More...
#include <PhosphorControl/DBusBridge.h>
Public Attributes | |
| QString | service |
| QString | objectPath |
| QString | interfaceName |
| int | syncTimeoutMs = DefaultSyncTimeoutMs |
Configured endpoint for a single D-Bus service the settings app talks to.
service — bus name (e.g. "org.phosphor.plasmazones.daemon") objectPath — object path on that service (e.g. "/Daemon") interfaceName — default interface used by call()/asyncCall(). Apps that talk to multiple interfaces on the same object call callOn() / asyncCallOn() with an explicit interface. syncTimeoutMs — bound for synchronous calls; see DefaultSyncTimeoutMs.
The struct is a POD passed across the lib boundary by value, so it is exported for visibility-hidden builds — downstream consumers need typeinfo symbols to construct, copy, and pass DBusEndpoint instances cleanly.
The interface member is named interfaceName rather than interface because Windows MSVC <objbase.h> defines interface as a struct macro, which collides with field-access syntax. Renaming the field is less fragile than #undef interface in a public header (which would pollute every consumer's translation unit downstream of the include).
| QString PhosphorControl::DBusEndpoint::interfaceName |
| QString PhosphorControl::DBusEndpoint::objectPath |
| QString PhosphorControl::DBusEndpoint::service |
| int PhosphorControl::DBusEndpoint::syncTimeoutMs = DefaultSyncTimeoutMs |