|
VLink 2.0.0
A high-performance communication middleware
|
Abstract base class for VLink bag file playback with time-based seeking and rate control. More...
#include <cstdint>#include <functional>#include <future>#include <memory>#include <string>#include <string_view>#include <unordered_map>#include <unordered_set>#include <vector>#include "../base/bytes.h"#include "../base/macros.h"#include "../base/message_loop.h"#include "../impl/types.h"#include "./bag_reader_plugin_interface.h"Go to the source code of this file.
Classes | |
| class | vlink::BagReader |
| Abstract VLink bag file player with time control, seeking, and integrity tools. More... | |
| struct | vlink::BagReader::Info |
| Metadata extracted from the bag file header and index. More... | |
| struct | vlink::BagReader::Info::UrlMeta |
| Per-URL statistics extracted from the bag index. More... | |
| struct | vlink::BagReader::Config |
Playback configuration passed to play(). More... | |
Namespaces | |
| namespace | vlink |
Abstract base class for VLink bag file playback with time-based seeking and rate control.
BagReader is an abstract MessageLoop-based player that reads VLink bag files and replays recorded messages through an OutputCallback. Concrete implementations are DatabaseReader (SQLite-backed) and McapReader (MCAP-format).
Playback features:
rate=2.0 for 2x speed).times field (kInfinite = -1 for endless loop).begin_time and end_time.Config::filter_urls whitelist.std::future.async_run() before play().check(), reindex(), and fix() run on a background thread and return a std::future<bool> for result polling.create() (.vcap / .vcapx -> McapReader, otherwise -> DatabaseReader).