|
VLink 2.0.0
A high-performance communication middleware
|
Abstract base class for all transport-specific setter (field writer) implementations. More...
#include "./node_impl.h"Go to the source code of this file.
Classes | |
| class | vlink::SetterImpl |
| Transport-agnostic base for setter (field writer) node implementations. More... | |
Namespaces | |
| namespace | vlink |
Abstract base class for all transport-specific setter (field writer) implementations.
SetterImpl is the intermediate layer between the generic Setter<T> template and a concrete transport backend. It inherits from NodeImpl and adds field-setter semantics:
write() – sends the serialised latest value to all registered getters on the same topic.sync() – waits for the written value to be acknowledged or propagated, then fires a completion callback.Setter always overwrites the previous value; a Getter can retrieve the most recent value at any time or be notified when it changes.write(const Bytes&) and sync(SyncCallback&&).