VLink  2.0.0
A high-performance communication middleware
vlink::DiscoveryViewer::Info Struct Referencefinal

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

#include <discovery_viewer.h>

Collaboration diagram for vlink::DiscoveryViewer::Info:

Public Member Functions

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

Public Attributes

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

Detailed Description

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.

Member Function Documentation

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

Parameters
targetRight-hand operand.
Returns
true when *this should appear before target.

Member Data Documentation

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


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