swift
Loading...
Searching...
No Matches
swift::misc::mixin::DBusOperators< Derived,... > Class Template Reference

CRTP class template which will generate marshalling operators for a derived class with its own marshalling implementation. More...

#include <mixindbus.h>

Inheritance diagram for swift::misc::mixin::DBusOperators< Derived,... >:
[legend]

Friends

const QDBusArgument & operator>> (const QDBusArgument &arg, Derived &obj)
 Unmarshalling operator >>, DBus to object.
QDBusArgument & operator<< (QDBusArgument &arg, const Derived &obj)
 Marshalling operator <<, object to DBus.

Detailed Description

template<class Derived, class...>
class swift::misc::mixin::DBusOperators< Derived,... >

CRTP class template which will generate marshalling operators for a derived class with its own marshalling implementation.

Template Parameters
DerivedMust implement public methods void marshallToDbus(QDBusArgument &arg) const and void unmarshallFromDbus(const QDBusArgument &arg).

Definition at line 38 of file mixindbus.h.

◆ operator<<

template<class Derived, class...>
QDBusArgument & operator<< ( QDBusArgument & arg,
const Derived & obj )
friend

Marshalling operator <<, object to DBus.

Definition at line 51 of file mixindbus.h.

◆ operator>>

template<class Derived, class...>
const QDBusArgument & operator>> ( const QDBusArgument & arg,
Derived & obj )
friend

Unmarshalling operator >>, DBus to object.

Definition at line 42 of file mixindbus.h.


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