6 #ifndef SWIFT_MISC_SHAREDSTATE_DBUS_HUBIMPL_H
7 #define SWIFT_MISC_SHAREDSTATE_DBUS_HUBIMPL_H
10 #include <QSharedPointer>
19 namespace shared_state::dbus
36 virtual ~
CHub()
override;
39 const auto &
clients()
const {
return m_clients; }
44 virtual std::pair<QSharedPointer<IDuplex>, QFuture<bool>> getDuplex(
const CIdentifier &)
override;
61 virtual QFuture<bool> openDuplexAsync(
const CIdentifier &client)
override;
Value object encapsulating information identifying a component of a modular distributed swift process...
Server side implementation of IHub.
const auto & clients() const
Returns a range containing all duplex objects.
virtual bool isConnected() const
Create a duplex object for the identified process.
Abstract interface for the hub in a star topology.
#define SWIFT_MISC_HUB_INTERFACE
DBus interface for sharedstate hub.
Free functions in swift::misc.
#define SWIFT_MISC_EXPORT
Export a class or function from the library.