|
VLink 2.0.0
A high-performance communication middleware
|
Metadata extracted from the bag file header and index. 更多...
#include <bag_reader.h>
类 | |
| struct | UrlMeta |
| Per-URL statistics extracted from the bag index. 更多... | |
Public 属性 | |
| std::string | file_name |
| Absolute path to the bag file. | |
| std::string | tag_name |
| Tag name stored in the bag header. | |
| std::string | version |
| Bag format version string. | |
| std::string | storage_type |
| Storage backend (e.g., "sqlite", "mcap"). | |
| std::string | compression_type |
| Compression algorithm used (e.g., "lzav", "zstd"). | |
| std::string | time_accuracy |
| Timestamp resolution (e.g., "us", "ns"). | |
| std::string | process_name |
| Name of the recording process. | |
| std::string | date_time |
| Recording start date/time string. | |
| bool | has_completed {false} |
true if the recording was cleanly finalized. | |
| bool | has_idx_elapsed {false} |
true if an elapsed-time index is present. | |
| bool | has_idx_url {false} |
true if a URL index is present. | |
| bool | has_schema {false} |
true if any schemas are embedded. | |
| int32_t | timezone {0} |
| Timezone offset in minutes from UTC. | |
| int64_t | start_timestamp {0} |
| Recording start timestamp (milliseconds since epoch). | |
| int64_t | blank_duration {0} |
| Total blank (gap) duration (milliseconds). | |
| int64_t | total_duration {0} |
| Total recording duration (milliseconds). | |
| int64_t | file_size {0} |
| File size in bytes. | |
| int64_t | total_raw_size {0} |
| Total uncompressed payload size (bytes). | |
| int64_t | message_count {0} |
| Total number of messages across all URLs. | |
| int64_t | split_count {0} |
| Number of file splits (0 if single file). | |
| int64_t | split_by_size {0} |
| Split threshold by size (bytes). | |
| int64_t | split_by_time {0} |
| Split threshold by time (milliseconds). | |
| std::vector< UrlMeta > | url_metas |
| Per-URL statistics, one entry per recorded topic. | |
Metadata extracted from the bag file header and index.
Available after construction. Contains file-level metadata and per-URL statistics.
| int64_t vlink::BagReader::Info::blank_duration {0} |
Total blank (gap) duration (milliseconds).
| std::string vlink::BagReader::Info::compression_type |
Compression algorithm used (e.g., "lzav", "zstd").
| std::string vlink::BagReader::Info::date_time |
Recording start date/time string.
| std::string vlink::BagReader::Info::file_name |
Absolute path to the bag file.
| int64_t vlink::BagReader::Info::file_size {0} |
File size in bytes.
| bool vlink::BagReader::Info::has_completed {false} |
true if the recording was cleanly finalized.
| bool vlink::BagReader::Info::has_idx_elapsed {false} |
true if an elapsed-time index is present.
| bool vlink::BagReader::Info::has_idx_url {false} |
true if a URL index is present.
| bool vlink::BagReader::Info::has_schema {false} |
true if any schemas are embedded.
| int64_t vlink::BagReader::Info::message_count {0} |
Total number of messages across all URLs.
| std::string vlink::BagReader::Info::process_name |
Name of the recording process.
| int64_t vlink::BagReader::Info::split_by_size {0} |
Split threshold by size (bytes).
| int64_t vlink::BagReader::Info::split_by_time {0} |
Split threshold by time (milliseconds).
| int64_t vlink::BagReader::Info::split_count {0} |
Number of file splits (0 if single file).
| int64_t vlink::BagReader::Info::start_timestamp {0} |
Recording start timestamp (milliseconds since epoch).
| std::string vlink::BagReader::Info::storage_type |
Storage backend (e.g., "sqlite", "mcap").
| std::string vlink::BagReader::Info::tag_name |
Tag name stored in the bag header.
| std::string vlink::BagReader::Info::time_accuracy |
Timestamp resolution (e.g., "us", "ns").
| int32_t vlink::BagReader::Info::timezone {0} |
Timezone offset in minutes from UTC.
| int64_t vlink::BagReader::Info::total_duration {0} |
Total recording duration (milliseconds).
| int64_t vlink::BagReader::Info::total_raw_size {0} |
Total uncompressed payload size (bytes).
| std::vector<UrlMeta> vlink::BagReader::Info::url_metas |
Per-URL statistics, one entry per recorded topic.
| std::string vlink::BagReader::Info::version |
Bag format version string.