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

Identity of a process that hosts at least one endpoint for a URL. 更多...

#include <discovery_viewer.h>

vlink::DiscoveryViewer::Process 的协作图:

Public 成员函数

bool operator< (const Process &target) const noexcept
 Defines a stable ordering between two process descriptors. 更多...
 

Public 属性

uint32_t type {0}
 Bitmask of ImplType kinds advertised by this process. 更多...
 
std::string host
 Host name of the process. 更多...
 
uint32_t pid {0}
 Process identifier. 更多...
 
std::string name
 Process or application name. 更多...
 
std::string ip
 IP address of the host. 更多...
 
double profiler {-1}
 Most recent CPU usage sample (-1 when unavailable). 更多...
 

详细描述

Identity of a process that hosts at least one endpoint for a URL.

成员函数说明

◆ operator<()

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

Defines a stable ordering between two process descriptors.

Sort key is type, then host, IP, name and finally PID.

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

类成员变量说明

◆ host

std::string vlink::DiscoveryViewer::Process::host

Host name of the process.

◆ ip

std::string vlink::DiscoveryViewer::Process::ip

IP address of the host.

◆ name

std::string vlink::DiscoveryViewer::Process::name

Process or application name.

◆ pid

uint32_t vlink::DiscoveryViewer::Process::pid {0}

Process identifier.

◆ profiler

double vlink::DiscoveryViewer::Process::profiler {-1}

Most recent CPU usage sample (-1 when unavailable).

◆ type

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

Bitmask of ImplType kinds advertised by this process.


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