|
VLink
2.0.0
A high-performance communication middleware
|
Per-URL accounting entry recorded inside Info::url_metas.
更多...
#include <bag_reader.h>
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.
|
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.
| target | Right-hand operand. |
true when *this should appear before target. | ActionType vlink::BagReader::Info::UrlMeta::action_type {ActionType::kUnknownAction} |
Stored action when known.
| size_t vlink::BagReader::Info::UrlMeta::count {0} |
Number of recorded messages.
| double vlink::BagReader::Info::UrlMeta::freq {0} |
Average publication frequency in Hertz.
| int vlink::BagReader::Info::UrlMeta::index {0} |
Bag-local numeric URL identifier.
| double vlink::BagReader::Info::UrlMeta::loss {0} |
Declared loss ratio in the range [0, 1].
| SchemaType vlink::BagReader::Info::UrlMeta::schema_type {SchemaType::kUnknown} |
Coarse schema family for this URL.
| std::string vlink::BagReader::Info::UrlMeta::ser_type |
Serialisation type name.
| size_t vlink::BagReader::Info::UrlMeta::size {0} |
Total stored bytes (compressed when applicable).
| std::string vlink::BagReader::Info::UrlMeta::url |
Full VLink URL string.
| std::string vlink::BagReader::Info::UrlMeta::url_type |
Communication model: Event / Method / Field.
| bool vlink::BagReader::Info::UrlMeta::valid {false} |
True when the entry is fully populated.