|
VLink
2.0.0
A high-performance communication middleware
|
Aggregate of cumulative delivered / lost sample counts. 更多...
#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. 更多... | |
Aggregate of cumulative delivered / lost sample counts.
Returned by SubscriberImpl::get_lost() and GetterImpl::get_lost(). total counts every message that was expected (delivered or lost); lost counts the subset that did not arrive. Stream-friendly through operator<<.
|
friend |
Streams a human-readable summary to ostream.
Output format: "SampleLostInfo:[total]N[lost]M".
| ostream | Destination stream. |
| 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).