|
VLink
2.0.0
A high-performance communication middleware
|
One recorded or replayed message as it flows through the bag pipeline. More...
#include <types.h>
Public Attributes | |
| int64_t | timestamp {-1} |
| Canonical time in microseconds (record / playback). More... | |
| std::string | url |
| Topic URL. More... | |
| std::string | ser_type |
| Serialisation type; reader fills it before user output. More... | |
| SchemaType | schema_type {SchemaType::kUnknown} |
| Coarse schema family; reader fills it before user output. More... | |
| ActionType | action_type {ActionType::kUnknownAction} |
| Recorded action kind. More... | |
| Bytes | data |
| Serialised payload bytes. More... | |
One recorded or replayed message as it flows through the bag pipeline.
The single unit passed through every bag push / callback / record hook (BagReader, BagWriter, BagProcessor, BagPluginInterface). Passed by const reference through each hop so the payload is never deep-copied on the synchronous path; a stage that must take ownership (an async reorder cache) or rewrite a field (playback URL remap) copies explicitly, and the payload Bytes itself is normally a shallow view at the source. ser_type / schema_type are supplied by the caller on the write side; on the read side they arrive empty at a plugin's on_read(), and BagReader fills them from the bag's URL metadata before invoking the user's output callback (so a fully-populated frame reaches consumers without a separate get_ser_type() lookup).
| ActionType vlink::Frame::action_type {ActionType::kUnknownAction} |
Recorded action kind.
| Bytes vlink::Frame::data |
Serialised payload bytes.
| SchemaType vlink::Frame::schema_type {SchemaType::kUnknown} |
Coarse schema family; reader fills it before user output.
| std::string vlink::Frame::ser_type |
Serialisation type; reader fills it before user output.
| int64_t vlink::Frame::timestamp {-1} |
Canonical time in microseconds (record / playback).
| std::string vlink::Frame::url |
Topic URL.