|
VLink
2.0.0
A high-performance communication middleware
|
Reader-side event raised when a sample is lost between writer and reader. More...
#include <status_detail.h>
Public Member Functions | |
| Type | get_type () const override |
Returns kSampleLost. More... | |
| std::string | get_string () const override |
Returns the literal "SampleLost". More... | |
Public Member Functions inherited from vlink::Status::Base | |
| template<typename T > | |
| std::shared_ptr< T > | as () const |
Safely narrows this event to a concrete Status subclass. More... | |
Public Attributes | |
| int32_t | total_count {0} |
| Cumulative samples lost. More... | |
| int32_t | total_count_change {0} |
Delta in total_count since the last notification. More... | |
Friends | |
| VLINK_EXPORT friend std::ostream & | operator<< (std::ostream &ostream, const SampleLost &status) noexcept |
Streams the counter fields to ostream. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from vlink::Status::Base | |
| Base () | |
| virtual | ~Base () |
Reader-side event raised when a sample is lost between writer and reader.
Typically caused by writer rate exceeding the reader's History depth.
|
overridevirtual |
|
overridevirtual |
|
friend |
Streams the counter fields to ostream.
| ostream | Output stream. |
| status | Event to print. |
ostream. | int32_t vlink::Status::SampleLost::total_count {0} |
Cumulative samples lost.
| int32_t vlink::Status::SampleLost::total_count_change {0} |
Delta in total_count since the last notification.