VLink 2.0.0
A high-performance communication middleware
载入中...
搜索中...
未找到
vlink::BagReader::Config结构体 参考final

Playback configuration passed to play(). 更多...

#include <bag_reader.h>

vlink::BagReader::Config 的协作图:

Public 属性

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.

详细描述

Playback configuration passed to play().

类成员变量说明

◆ 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.


该结构体的文档由以下文件生成: