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

Placeholder status returned when the transport reports an unrecognised event type. 更多...

#include <status.h>

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

Public 成员函数

Type get_type () const override
 Returns kUnknown.
std::string get_string () const override
 Returns "Unknown".

友元

VLINK_EXPORT friend std::ostream & operator<< (std::ostream &ostream, const Unknown &status) noexcept
 Writes "Unknown" to ostream.

额外继承的成员函数

详细描述

Placeholder status returned when the transport reports an unrecognised event type.

Callers should check get_type() == kUnknown and skip processing.

成员函数说明

◆ get_string()

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

Returns "Unknown".

返回
Descriptive string.

实现了 vlink::Status::Base.

◆ get_type()

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

Returns kUnknown.

返回
Always kUnknown.

实现了 vlink::Status::Base.

◆ operator<<

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

Writes "Unknown" to ostream.

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

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