VLink 2.0.0
A high-performance communication middleware
Loading...
Searching...
No Matches
vlink::Status::LivelinessLost Struct Referencefinal

Status event fired when a DataWriter loses liveliness (failed to assert within duration). More...

#include <status_detail.h>

Inheritance diagram for vlink::Status::LivelinessLost:
Collaboration diagram for vlink::Status::LivelinessLost:

Public Member Functions

Type get_type () const override
 Returns kLivelinessLost.
std::string get_string () const override
 Returns a human-readable summary of this status.

Public Attributes

int32_t total_count {0}
 Total times liveliness was lost.
int32_t total_count_change {0}
 Change in total_count since last callback.

Friends

VLINK_EXPORT friend std::ostream & operator<< (std::ostream &ostream, const LivelinessLost &status) noexcept
 Writes the status fields to ostream.

Additional Inherited Members

Detailed Description

Status event fired when a DataWriter loses liveliness (failed to assert within duration).

Delivered to the writer when the liveliness lease expires without a successful assertion.

Member Function Documentation

◆ get_string()

std::string vlink::Status::LivelinessLost::get_string ( ) const
nodiscardoverridevirtual

Returns a human-readable summary of this status.

Returns
String describing liveliness loss counts.

Implements vlink::Status::Base.

◆ get_type()

Type vlink::Status::LivelinessLost::get_type ( ) const
nodiscardoverridevirtual

Returns kLivelinessLost.

Returns
Status type identifier.

Implements vlink::Status::Base.

◆ operator<<

VLINK_EXPORT friend std::ostream & operator<< ( std::ostream & ostream,
const LivelinessLost & status )
friend

Writes the status fields to ostream.

Parameters
ostreamOutput stream.
statusThis LivelinessLost status.
Returns
Reference to ostream.

Member Data Documentation

◆ total_count

int32_t vlink::Status::LivelinessLost::total_count {0}

Total times liveliness was lost.

◆ total_count_change

int32_t vlink::Status::LivelinessLost::total_count_change {0}

Change in total_count since last callback.


The documentation for this struct was generated from the following file: