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

Per-URL accounting entry recorded inside Info::url_metas. 更多...

#include <bag_reader.h>

vlink::BagReader::Info::UrlMeta 的协作图:

Public 成员函数

bool operator< (const UrlMeta &target) const noexcept
 Defines a stable ordering between two URL metadata entries. 更多...
 

Public 属性

bool valid {false}
 True when the entry is fully populated. 更多...
 
int index {0}
 Bag-local numeric URL identifier. 更多...
 
std::string url
 Full VLink URL string. 更多...
 
std::string url_type
 Communication model: Event / Method / Field. 更多...
 
ActionType action_type {ActionType::kUnknownAction}
 Stored action when known. 更多...
 
std::string ser_type
 Serialisation type name. 更多...
 
SchemaType schema_type {SchemaType::kUnknown}
 Coarse schema family for this URL. 更多...
 
size_t count {0}
 Number of recorded messages. 更多...
 
size_t size {0}
 Total stored bytes (compressed when applicable). 更多...
 
double freq {0}
 Average publication frequency in Hertz. 更多...
 
double loss {0}
 Declared loss ratio in the range [0, 1]. 更多...
 

详细描述

Per-URL accounting entry recorded inside Info::url_metas.

成员函数说明

◆ operator<()

bool vlink::BagReader::Info::UrlMeta::operator< ( const UrlMeta target) const
noexcept

Defines a stable ordering between two URL metadata entries.

Sort key is the URL transport priority first, then the URL string itself and finally the numeric index as a deterministic tie-breaker.

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

类成员变量说明

◆ action_type

ActionType vlink::BagReader::Info::UrlMeta::action_type {ActionType::kUnknownAction}

Stored action when known.

◆ count

size_t vlink::BagReader::Info::UrlMeta::count {0}

Number of recorded messages.

◆ freq

double vlink::BagReader::Info::UrlMeta::freq {0}

Average publication frequency in Hertz.

◆ index

int vlink::BagReader::Info::UrlMeta::index {0}

Bag-local numeric URL identifier.

◆ loss

double vlink::BagReader::Info::UrlMeta::loss {0}

Declared loss ratio in the range [0, 1].

◆ schema_type

SchemaType vlink::BagReader::Info::UrlMeta::schema_type {SchemaType::kUnknown}

Coarse schema family for this URL.

◆ ser_type

std::string vlink::BagReader::Info::UrlMeta::ser_type

Serialisation type name.

◆ size

size_t vlink::BagReader::Info::UrlMeta::size {0}

Total stored bytes (compressed when applicable).

◆ url

std::string vlink::BagReader::Info::UrlMeta::url

Full VLink URL string.

◆ url_type

std::string vlink::BagReader::Info::UrlMeta::url_type

Communication model: Event / Method / Field.

◆ valid

bool vlink::BagReader::Info::UrlMeta::valid {false}

True when the entry is fully populated.


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