VLink 2.0.0
A high-performance communication middleware
载入中...
搜索中...
未找到
getter_impl.h 文件参考

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

#include "./node_impl.h"
getter_impl.h 的引用(Include)关系图:
此图展示该文件被哪些文件直接或间接地引用了:

浏览该文件的源代码.

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

命名空间

详细描述

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.
注解
Concrete subclasses must implement listen(MsgCallback&&).