13namespace swift::misc::shared_state::dbus
20 m_interface->relayParentSignals();
34 return m_interface->callDBusRet<
bool>(
QLatin1String(
"openDuplex"), client);
44 return m_interface->callDBusFuture<
bool>(
QLatin1String(
"openDuplex"), client);
Used for hand written interface based on virtual methods.
Value object encapsulating information identifying a component of a modular distributed swift process...
static const CIdentifier & anonymous()
Returns an anonymous identifier, which is a valid identifier without name.
QFuture< bool > openDuplexAsync(const CIdentifier &client)
Create a duplex object for the identified process.
CHubProxy(const QDBusConnection &connection, const QString &service, QObject *parent=nullptr)
Constructor.
void closeDuplex(const swift::misc::CIdentifier &client)
Destroy the duplex object for the identified process.
bool isConnected() const
Create a duplex object for the identified process.
std::pair< QSharedPointer< IDuplex >, QFuture< bool > > getDuplex(const CIdentifier &)
Create a duplex object for the identified process.
bool openDuplex(const swift::misc::CIdentifier &client)
Create a duplex object for the identified process.
IHub(QObject *parent=nullptr)
Constructor.
#define SWIFT_MISC_HUB_INTERFACE
DBus interface for sharedstate hub.
#define SWIFT_MISC_HUB_PATH
DBus object path root for sharedstate hub.
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
void destroyed(QObject *obj)
QObject * parent() const const
QSharedPointer< T > create(Args &&... args)