VLink  2.0.0
A high-performance communication middleware
vlink::BagReader::Config Struct Referencefinal

Playback parameters consumed by play(). More...

#include <bag_reader.h>

Collaboration diagram for vlink::BagReader::Config:

Public Attributes

int64_t begin_time {0}
 Playback window start in milliseconds (0 means file start). More...
 
int64_t end_time {0}
 Playback window end in milliseconds (0 means file end). More...
 
int times {1}
 Loop count; values <= 0 request endless loop playback. More...
 
double rate {1.0}
 Speed multiplier relative to the recorded clock. More...
 
bool skip_blank {false}
 When true, collapses long silent gaps between frames. More...
 
int64_t force_delay {-1}
 >0 fixed delay (ms), 0 no delay, <0 use recorded timing. More...
 
bool auto_pause {false}
 When true, pauses automatically after every emitted frame. More...
 
bool auto_quit {false}
 When true, stops the loop thread at the end of playback. More...
 
std::unordered_set< std::string > filter_urls
 Whitelist of playback URLs; empty means all URLs pass. More...
 

Detailed Description

Playback parameters consumed by play().

Member Data Documentation

◆ auto_pause

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

When true, pauses automatically after every emitted frame.

◆ auto_quit

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

When true, stops the loop thread at the end of playback.

◆ begin_time

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

Playback window start in milliseconds (0 means file start).

◆ end_time

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

Playback window end in milliseconds (0 means file end).

◆ filter_urls

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

Whitelist of playback URLs; empty means all URLs pass.

◆ force_delay

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

>0 fixed delay (ms), 0 no delay, <0 use recorded timing.

◆ rate

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

Speed multiplier relative to the recorded clock.

◆ skip_blank

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

When true, collapses long silent gaps between frames.

◆ times

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

Loop count; values <= 0 request endless loop playback.


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