|
VLink 2.0.0
A high-performance communication middleware
|
Cumulative sample delivery statistics for a subscriber or getter. 更多...
#include <types.h>
Public 属性 | |
| uint64_t | total {0} |
| Total number of samples expected (delivered + lost). | |
| uint64_t | lost {0} |
| Number of samples that were dropped or missed. | |
友元 | |
| VLINK_EXPORT friend std::ostream & | operator<< (std::ostream &ostream, const SampleLostInfo &info) noexcept |
Streams a human-readable summary to ostream. | |
Cumulative sample delivery statistics for a subscriber or getter.
Populated by SubscriberImpl::get_lost() and GetterImpl::get_lost(). The total field counts every message expected (both delivered and lost); lost counts those that were never delivered due to queue overflow or network loss. Supports streaming via operator<<.
|
friend |
Streams a human-readable summary to ostream.
Format: "SampleLostInfo:[total]N[lost]M".
| ostream | Output stream to write to. |
| info | Instance to print. |
ostream. | uint64_t vlink::SampleLostInfo::lost {0} |
Number of samples that were dropped or missed.
| uint64_t vlink::SampleLostInfo::total {0} |
Total number of samples expected (delivered + lost).