Skip to content

ReplaySettings

struct nmeasim::io::ReplaySettings ยท Library API

Settings of the log replay mode, the simulation.replay object of a profile.

#include <nmeasim/io/profile/profile.hpp>

Declared in src/io/include/nmeasim/io/profile/profile.hpp (line 252)

They are read and validated in every mode, but used only in SimulationMode::Replay.

See also

  • ADR 0012 for the log format.

Summary

Public data members

Name Description
path Log file to replay, the path key; required in replay mode.
loop The loop key; true starts again at the first entry instead of stopping at the last.
fixed_interval_ms Spacing of the entries in milliseconds when the log carries no time information at all, the fixed_interval_ms key; [1, 60000], a value outside is rejected.

Public data members

path

QString path

Log file to replay, the path key; required in replay mode.

Held as written; a relative path is resolved like TrackSettings::path.

Declared in src/io/include/nmeasim/io/profile/profile.hpp:256

loop

bool loop{false}

The loop key; true starts again at the first entry instead of stopping at the last.

Declared in src/io/include/nmeasim/io/profile/profile.hpp:258

fixed_interval_ms

int fixed_interval_ms{100}

Spacing of the entries in milliseconds when the log carries no time information at all, the fixed_interval_ms key; [1, 60000], a value outside is rejected.

Declared in src/io/include/nmeasim/io/profile/profile.hpp:261