VLink  2.0.0
A high-performance communication middleware
vlink::DiscoveryViewer::Info结构体 参考final

One row of the discovery snapshot, describing a URL and its publishers/subscribers. 更多...

#include <discovery_viewer.h>

vlink::DiscoveryViewer::Info 的协作图:

Public 成员函数

bool operator< (const Info &target) const noexcept
 Defines a stable ordering between two snapshot rows. 更多...
 

Public 属性

int sort_index {-1}
 Stable sort key assigned internally by the viewer. 更多...
 
uint32_t type {0}
 Bitmask of ImplType kinds for this URL. 更多...
 
std::string url
 Fully-qualified VLink URL. 更多...
 
std::string ser_type
 Serialisation type name announced for this URL. 更多...
 
SchemaType schema_type {SchemaType::kUnknown}
 Coarse schema family derived from announcements. 更多...
 
std::vector< Processprocess_list
 Processes currently hosting this URL. 更多...
 

详细描述

One row of the discovery snapshot, describing a URL and its publishers/subscribers.

Each row aggregates the communication kinds, serialisation type, schema family and the list of processes that have announced a matching endpoint.

成员函数说明

◆ operator<()

bool vlink::DiscoveryViewer::Info::operator< ( const Info target) const
noexcept

Defines a stable ordering between two snapshot rows.

Sort key is type, then sort_index, URL, schema family, serialisation type and finally the process list.

参数
targetRight-hand operand.
返回
true when *this should appear before target.

类成员变量说明

◆ process_list

std::vector<Process> vlink::DiscoveryViewer::Info::process_list

Processes currently hosting this URL.

◆ schema_type

SchemaType vlink::DiscoveryViewer::Info::schema_type {SchemaType::kUnknown}

Coarse schema family derived from announcements.

◆ ser_type

std::string vlink::DiscoveryViewer::Info::ser_type

Serialisation type name announced for this URL.

◆ sort_index

int vlink::DiscoveryViewer::Info::sort_index {-1}

Stable sort key assigned internally by the viewer.

◆ type

uint32_t vlink::DiscoveryViewer::Info::type {0}

Bitmask of ImplType kinds for this URL.

◆ url

std::string vlink::DiscoveryViewer::Info::url

Fully-qualified VLink URL.


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