|
VLink 2.0.0
A high-performance communication middleware
|
Abstract base class for all transport-specific publisher implementations. More...
Go to the source code of this file.
Classes | |
| class | vlink::PublisherImpl |
| Transport-agnostic base for publisher node implementations. More... | |
Namespaces | |
| namespace | vlink |
Abstract base class for all transport-specific publisher implementations.
PublisherImpl is the intermediate layer between the generic Publisher<T> template and a concrete transport backend (e.g. DdsPublisherImpl, ShmPublisherImpl). It inherits from NodeImpl and adds publish-side semantics:
detect_subscribers() / update_subscribers().wait_for_subscribers().Bytes for network transports and zero-copy IntraData for the intra:// backend.has_subscribers() and write(const Bytes&). write(const IntraData&) is only overridden by the intra:// backend; all other transports inherit the base no-op that logs a warning and returns false.