VLink 2.0.0
A high-performance communication middleware
载入中...
搜索中...
未找到
vlink::Status::LivelinessLost结构体 参考final

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

#include <status_detail.h>

类 vlink::Status::LivelinessLost 继承关系图:
vlink::Status::LivelinessLost 的协作图:

Public 成员函数

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

Public 属性

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

友元

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

额外继承的成员函数

详细描述

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.

成员函数说明

◆ get_string()

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

Returns a human-readable summary of this status.

返回
String describing liveliness loss counts.

实现了 vlink::Status::Base.

◆ get_type()

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

Returns kLivelinessLost.

返回
Status type identifier.

实现了 vlink::Status::Base.

◆ operator<<

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

Writes the status fields to ostream.

参数
ostreamOutput stream.
statusThis LivelinessLost status.
返回
Reference to ostream.

类成员变量说明

◆ 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.


该结构体的文档由以下文件生成: