|
swift
|
Interface that provides a transport mechanism for sharing state. More...
#include <datalink.h>
Public Member Functions | |
| IDataLink () | |
| Constructor. | |
| virtual | ~IDataLink ()=0 |
| Destructor. | |
| CDataLinkConnectionWatcher * | watcher () |
| Get a connection status watcher. | |
| virtual void | publish (const CPassiveMutator *mutator)=0 |
| Register a mutator with this transport mechanism. | |
| virtual void | publish (const CActiveMutator *mutator)=0 |
| Register a mutator with this transport mechanism. | |
| virtual void | subscribe (const CPassiveObserver *observer)=0 |
| Register an observer with this transport mechanism. | |
| virtual void | subscribe (const CActiveObserver *observer)=0 |
| Register an observer with this transport mechanism. | |
Protected Member Functions | |
| void | setConnectionStatus (bool connected) |
| Set the connection status visible through the watcher. | |
Static Protected Member Functions | |
| static QString | getChannelName (const QObject *object) |
| Get the channel name for child endpoints of the given object. | |
Interface that provides a transport mechanism for sharing state.
Definition at line 67 of file datalink.h.
| swift::misc::shared_state::IDataLink::IDataLink | ( | ) |
Constructor.
Definition at line 31 of file datalink.cpp.
|
staticprotected |
Get the channel name for child endpoints of the given object.
Definition at line 33 of file datalink.cpp.
|
pure virtual |
Register a mutator with this transport mechanism.
Implemented in swift::misc::shared_state::CDataLinkDBus, and swift::misc::shared_state::CDataLinkLocal.
|
pure virtual |
Register a mutator with this transport mechanism.
Implemented in swift::misc::shared_state::CDataLinkDBus, and swift::misc::shared_state::CDataLinkLocal.
|
inlineprotected |
Set the connection status visible through the watcher.
Definition at line 93 of file datalink.h.
|
pure virtual |
Register an observer with this transport mechanism.
Implemented in swift::misc::shared_state::CDataLinkDBus, and swift::misc::shared_state::CDataLinkLocal.
|
pure virtual |
Register an observer with this transport mechanism.
Implemented in swift::misc::shared_state::CDataLinkDBus, and swift::misc::shared_state::CDataLinkLocal.
|
inline |
Get a connection status watcher.
Definition at line 77 of file datalink.h.