VLink 2.0.0
A high-performance communication middleware
Loading...
Searching...
No Matches
vlink::BagReader::Info::UrlMeta Struct Referencefinal

Per-URL statistics extracted from the bag index. More...

#include <bag_reader.h>

Collaboration diagram for vlink::BagReader::Info::UrlMeta:

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

Detailed Description

Per-URL statistics extracted from the bag index.

Member Function Documentation

◆ operator<()

bool vlink::BagReader::Info::UrlMeta::operator< ( const UrlMeta & target) const
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.

Parameters
targetRight-hand side.
Returns
true if *this should sort before target.

Member Data Documentation

◆ count

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

Total number of messages recorded for this URL.

◆ freq

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

Average message frequency (Hz).

◆ index

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

Numeric index of this URL in the bag's URL table.

◆ loss

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

Declared message loss ratio [0.0, 1.0].

◆ schema_type

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

Coarse schema family associated with this URL.

◆ ser_type

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

Serialisation type string (e.g., "demo.proto.PointCloud", "raw").

◆ size

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

Total compressed bytes recorded for this URL.

◆ url

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

Full VLink URL string.

◆ url_type

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

Communication model type (e.g., "Event", "Method", "Field").

◆ valid

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

true if this UrlMeta was successfully populated.


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