6#ifndef SWIFT_MISC_SHAREDSTATE_DATALINKDBUS_H
7#define SWIFT_MISC_SHAREDSTATE_DATALINKDBUS_H
9#include <QSharedPointer>
69 Channel &getChannel(
const QString &name);
70 Channel &getChannel(
const QObject *
object);
72 void checkConnection();
74 void onDisconnected();
78 void announceLocalSubscriptions();
79 void announceLocalSubscriptions(
const QString &channel);
82 void handlePeerRequest(
const QString &channel,
const CVariant ¶m, quint32 token);
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.
Wrapper around QVariant which provides transparent access to CValueObject methods of the contained ob...
Value object encapsulating a list of variants.
Extends CPassiveMutator with the ability to respond to requests.
Extends CPassiveObserver with the ability to send requests and receive replies.
void subscribe(const CPassiveObserver *observer)
Register an observer with this transport mechanism.
void publish(const CPassiveMutator *mutator)
Register a mutator with this transport mechanism.
void initializeRemote(const QDBusConnection &connection, const QString &service)
Initialize on client side.
void initializeLocal(CDBusServer *server=nullptr)
Initialize on server side.
void overrideIdentifier(const CIdentifier &)
Override identifier for testing purposes.
CDataLinkDBus(QObject *parent=nullptr)
Constructor.
Endpoint which can emit events to subscribers.
Endpoint which can subscribe to events emitted by CPassiveMutator.
Interface that provides a transport mechanism for sharing state.
Abstract interface for the spoke in a star topology.
Abstract interface for the hub in a star topology.
Utilities for sharing state between multiple objects.
Free functions in swift::misc.
QObject * parent() const const
#define SWIFT_MISC_EXPORT
Export a class or function from the library.