VLink 2.0.0
A high-performance communication middleware
Loading...
Searching...
No Matches
getter_impl.h File Reference

Abstract base class for all transport-specific getter (field reader) implementations. More...

#include "./node_impl.h"
Include dependency graph for getter_impl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

 Transport-agnostic base for getter (field reader) node implementations. More...

Namespaces

Detailed Description

Abstract base class for all transport-specific getter (field reader) implementations.

GetterImpl is the intermediate layer between the generic Getter<T> template and a concrete transport backend. It inherits from NodeImpl and adds field-getter semantics:

  • Change notification via listen() – the callback is invoked whenever a new value is written by the corresponding Setter on the same topic.
  • Optional latency and sample-loss tracking, identical in interface to SubscriberImpl.
Field Model Overview
Unlike the event model, the field model maintains a single "latest value" per topic. A Getter receives the most recent value; it does not buffer a queue of historic messages.
Note
Concrete subclasses must implement listen(MsgCallback&&).