|
VLink 2.0.0
A high-performance communication middleware
|
Per-URL statistics extracted from the bag index. More...
#include <bag_reader.h>
Public Member Functions | |
| bool | operator< (const UrlMeta &target) const noexcept |
| Comparison operator for sorting UrlMeta entries. | |
Public Attributes | |
| bool | valid {false} |
true if this UrlMeta was successfully populated. | |
| int | index {0} |
| Numeric index of this URL in the bag's URL table. | |
| std::string | url |
| Full VLink URL string. | |
| std::string | url_type |
| Communication model type (e.g., "Event", "Method", "Field"). | |
| std::string | ser_type |
| Serialisation type string (e.g., "demo.proto.PointCloud", "raw"). | |
| SchemaType | schema_type {SchemaType::kUnknown} |
| Coarse schema family associated with this URL. | |
| size_t | count {0} |
| Total number of messages recorded for this URL. | |
| size_t | size {0} |
| Total compressed bytes recorded for this URL. | |
| double | freq {0} |
| Average message frequency (Hz). | |
| double | loss {0} |
| Declared message loss ratio [0.0, 1.0]. | |
Per-URL statistics extracted from the bag index.
|
noexcept |
Comparison operator for sorting UrlMeta entries.
Sorts primarily by the URL's transport priority, then by URL string lexicographically, and finally by numeric index as a tie-breaker.
| target | Right-hand side. |
true if *this should sort before target. | size_t vlink::BagReader::Info::UrlMeta::count {0} |
Total number of messages recorded for this URL.
| double vlink::BagReader::Info::UrlMeta::freq {0} |
Average message frequency (Hz).
| int vlink::BagReader::Info::UrlMeta::index {0} |
Numeric index of this URL in the bag's URL table.
| double vlink::BagReader::Info::UrlMeta::loss {0} |
Declared message loss ratio [0.0, 1.0].
| SchemaType vlink::BagReader::Info::UrlMeta::schema_type {SchemaType::kUnknown} |
Coarse schema family associated with this URL.
| std::string vlink::BagReader::Info::UrlMeta::ser_type |
Serialisation type string (e.g., "demo.proto.PointCloud", "raw").
| size_t vlink::BagReader::Info::UrlMeta::size {0} |
Total compressed bytes recorded for this URL.
| std::string vlink::BagReader::Info::UrlMeta::url |
Full VLink URL string.
| std::string vlink::BagReader::Info::UrlMeta::url_type |
Communication model type (e.g., "Event", "Method", "Field").
| bool vlink::BagReader::Info::UrlMeta::valid {false} |
true if this UrlMeta was successfully populated.