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

Playback configuration passed to play(). More...

#include <bag_reader.h>

Collaboration diagram for vlink::BagReader::Config:

Public Attributes

int64_t begin_time {0}
 Playback start timestamp (ms). 0 = from beginning.
int64_t end_time {0}
 Playback end timestamp (ms). 0 = until end.
int times {1}
 Number of loops. kInfinite (-1) = loop forever.
double rate {1.0}
 Playback rate multiplier. 1.0 = real time.
bool skip_blank {false}
 If true, skip silent gaps between messages.
int64_t force_delay {-1}
 Override inter-message delay (ms). -1 = use timestamps.
bool auto_pause {false}
 If true, pause automatically at each message.
bool auto_quit {false}
 If true, quit the loop thread when playback ends.
std::unordered_set< std::string > filter_urls
 Whitelist of URLs to play. Empty = all URLs.

Detailed Description

Playback configuration passed to play().

Member Data Documentation

◆ auto_pause

bool vlink::BagReader::Config::auto_pause {false}

If true, pause automatically at each message.

◆ auto_quit

bool vlink::BagReader::Config::auto_quit {false}

If true, quit the loop thread when playback ends.

◆ begin_time

int64_t vlink::BagReader::Config::begin_time {0}

Playback start timestamp (ms). 0 = from beginning.

◆ end_time

int64_t vlink::BagReader::Config::end_time {0}

Playback end timestamp (ms). 0 = until end.

◆ filter_urls

std::unordered_set<std::string> vlink::BagReader::Config::filter_urls

Whitelist of URLs to play. Empty = all URLs.

◆ force_delay

int64_t vlink::BagReader::Config::force_delay {-1}

Override inter-message delay (ms). -1 = use timestamps.

◆ rate

double vlink::BagReader::Config::rate {1.0}

Playback rate multiplier. 1.0 = real time.

◆ skip_blank

bool vlink::BagReader::Config::skip_blank {false}

If true, skip silent gaps between messages.

◆ times

int vlink::BagReader::Config::times {1}

Number of loops. kInfinite (-1) = loop forever.


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