Status event fired when a sample is lost before it can be delivered to the DataReader.
More...
#include <status_detail.h>
|
| Type | get_type () const override |
| | Returns kSampleLost.
|
| std::string | get_string () const override |
| | Returns a human-readable summary of this status.
|
| template<typename T> |
| std::shared_ptr< T > | as () const |
| | Safely downcasts this status to a concrete type T.
|
Status event fired when a sample is lost before it can be delivered to the DataReader.
Sample loss typically occurs when a publisher produces data faster than the subscriber consumes it and the history depth is exceeded.
◆ get_string()
| std::string vlink::Status::SampleLost::get_string |
( |
| ) |
const |
|
nodiscardoverridevirtual |
Returns a human-readable summary of this status.
- Returns
- String describing sample loss counts.
Implements vlink::Status::Base.
◆ get_type()
| Type vlink::Status::SampleLost::get_type |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ operator<<
Writes the status fields to ostream.
- Parameters
-
| ostream | Output stream. |
| status | This SampleLost status. |
- Returns
- Reference to
ostream.
◆ total_count
| int32_t vlink::Status::SampleLost::total_count {0} |
◆ total_count_change
| int32_t vlink::Status::SampleLost::total_count_change {0} |
Change in total_count since last callback.
The documentation for this struct was generated from the following file: