154 bool is_listened{
false};
Copyable type-erased callable analogue of std::function with a tunable SBO and pool spill.
Definition: functional.h:131
Backbone of every transport-specific VLink node implementation.
Definition: node_impl.h:163
Event-model receive base shared by every transport-specific subscriber.
Definition: subscriber_impl.h:82
SubscriberImpl()
Stamps the node as kSubscriber.
virtual bool listen(IntraMsgCallback &&callback)
Installs the zero-copy in-process receive callback.
virtual SampleLostInfo get_lost() const
Returns cumulative delivered / lost counters.
virtual bool listen(MsgCallback &&callback)=0
Installs the serialised-message receive callback.
virtual int64_t get_latency() const
Returns the most recently measured end-to-end latency in nanoseconds.
virtual void set_latency_and_lost_enabled(bool enable)
Enables or disables per-message latency / loss tracking.
~SubscriberImpl() override
Releases backend resources.
virtual bool is_latency_and_lost_enabled() const
Reports whether tracking is currently enabled.
#define VLINK_EXPORT
Definition: macros.h:81
#define VLINK_DISALLOW_COPY_AND_ASSIGN(classname)
Deletes the copy constructor and copy-assignment operator of classname.
Definition: macros.h:174
Foundational base classes shared by every transport-backed VLink node.
Aggregate of cumulative delivered / lost sample counts.
Definition: types.h:273