virtual SampleLostInfo get_lost() const
Returns cumulative sample delivery statistics for field updates.
~GetterImpl() override
Destructor.
virtual void set_latency_and_lost_enabled(bool enable)
Enables or disables per-update latency and sample-loss tracking.
virtual bool is_latency_and_lost_enabled() const
Returns whether latency and sample-loss tracking is currently enabled.
bool is_listened
true after listen() has been successfully called.
定义 getter_impl.h:128
virtual bool listen(MsgCallback &&callback)=0
Registers the value-change callback for field updates.
virtual int64_t get_latency() const
Returns the most recently measured end-to-end field update latency in microseconds.
GetterImpl()
Protected constructor; initialises the getter with kGetter role.
std::function< void(const Bytes &)> MsgCallback
Callback delivering a raw serialised message to a SubscriberImpl or GetterImpl.
定义 node_impl.h:177
#define VLINK_EXPORT
定义 macros.h:85
#define VLINK_DISALLOW_COPY_AND_ASSIGN(classname)
Deletes the copy constructor and copy-assignment operator of classname.
定义 macros.h:184
Abstract transport node base classes used by all VLink node implementations.
Cumulative sample delivery statistics for a subscriber or getter.
定义 types.h:217