|
VLink
2.0.0
A high-performance communication middleware
|
Aggregated metadata extracted from the bag header, summary and URL index. More...
#include <bag_reader.h>
Classes | |
| struct | UrlMeta |
Per-URL accounting entry recorded inside Info::url_metas. More... | |
Public Attributes | |
| std::string | file_name |
| Absolute path to the opened bag file. More... | |
| std::string | tag_name |
| Free-form tag persisted in the header. More... | |
| std::string | version |
| Bag format version string. More... | |
| std::string | storage_type |
Storage backend label (e.g. "sqlite", "mcap"). More... | |
| std::string | compression_type |
| Default compression codec applied to payloads. More... | |
| std::string | time_accuracy |
Timestamp resolution token (e.g. "us", "ns"). More... | |
| std::string | process_name |
| Name of the recording process. More... | |
| std::string | date_time |
| Human-readable recording start date and time. More... | |
| bool | has_completed {false} |
| True when the recording was cleanly finalised. More... | |
| bool | has_idx_elapsed {false} |
| True when an elapsed-time index is present. More... | |
| bool | has_idx_url {false} |
| True when a URL index is present. More... | |
| bool | has_schema {false} |
| True when at least one embedded schema is available. More... | |
| int32_t | timezone {0} |
| Recording timezone offset in minutes from UTC. More... | |
| int64_t | start_timestamp {0} |
| Wall-clock recording start (milliseconds since epoch). More... | |
| int64_t | blank_duration {0} |
| Cumulative silent-gap duration in milliseconds. More... | |
| int64_t | total_duration {0} |
| Total recording duration in milliseconds. More... | |
| int64_t | file_size {0} |
| On-disk file size in bytes. More... | |
| int64_t | total_raw_size {0} |
| Sum of uncompressed payload bytes. More... | |
| int64_t | message_count {0} |
| Total recorded message count across every URL. More... | |
| int64_t | split_count {0} |
| Number of split files (0 for a single-file bag). More... | |
| int64_t | split_by_size {0} |
| Split threshold in bytes when split mode is active. More... | |
| int64_t | split_by_time {0} |
| Split threshold in milliseconds when split mode is active. More... | |
| std::vector< UrlMeta > | url_metas |
| One entry per recorded URL. More... | |
Aggregated metadata extracted from the bag header, summary and URL index.
Populated when the reader opens the file and is stable thereafter unless a destructive operation such as reindex() or fix() rewrites the index.
| int64_t vlink::BagReader::Info::blank_duration {0} |
Cumulative silent-gap duration in milliseconds.
| std::string vlink::BagReader::Info::compression_type |
Default compression codec applied to payloads.
| std::string vlink::BagReader::Info::date_time |
Human-readable recording start date and time.
| std::string vlink::BagReader::Info::file_name |
Absolute path to the opened bag file.
| int64_t vlink::BagReader::Info::file_size {0} |
On-disk file size in bytes.
| bool vlink::BagReader::Info::has_completed {false} |
True when the recording was cleanly finalised.
| bool vlink::BagReader::Info::has_idx_elapsed {false} |
True when an elapsed-time index is present.
| bool vlink::BagReader::Info::has_idx_url {false} |
True when a URL index is present.
| bool vlink::BagReader::Info::has_schema {false} |
True when at least one embedded schema is available.
| int64_t vlink::BagReader::Info::message_count {0} |
Total recorded message count across every URL.
| std::string vlink::BagReader::Info::process_name |
Name of the recording process.
| int64_t vlink::BagReader::Info::split_by_size {0} |
Split threshold in bytes when split mode is active.
| int64_t vlink::BagReader::Info::split_by_time {0} |
Split threshold in milliseconds when split mode is active.
| int64_t vlink::BagReader::Info::split_count {0} |
Number of split files (0 for a single-file bag).
| int64_t vlink::BagReader::Info::start_timestamp {0} |
Wall-clock recording start (milliseconds since epoch).
| std::string vlink::BagReader::Info::storage_type |
Storage backend label (e.g. "sqlite", "mcap").
| std::string vlink::BagReader::Info::tag_name |
Free-form tag persisted in the header.
| std::string vlink::BagReader::Info::time_accuracy |
Timestamp resolution token (e.g. "us", "ns").
| int32_t vlink::BagReader::Info::timezone {0} |
Recording timezone offset in minutes from UTC.
| int64_t vlink::BagReader::Info::total_duration {0} |
Total recording duration in milliseconds.
| int64_t vlink::BagReader::Info::total_raw_size {0} |
Sum of uncompressed payload bytes.
| std::vector<UrlMeta> vlink::BagReader::Info::url_metas |
One entry per recorded URL.
| std::string vlink::BagReader::Info::version |
Bag format version string.