OnixS C++ Eurex T7 Market and Reference Data (EMDI, MDI, RDI, EOBI) Handlers 19.0.4
Users' manual and API documentation
Loading...
Searching...
No Matches
ReplayOptions Struct Reference

#include <OnixS/Eurex/MarketData/Replay.h>

Public Member Functions

 ReplayOptions ()
 ReplayOptions (const std::string &filesRoot, const std::string &filesExtension=".log")

Public Attributes

FilesList logs
ReplayListenerlistener
unsigned int packetReplayDelay
float playSpeedMultiplier
ReplayMode::Enum replayMode

Detailed Description

Definition at line 82 of file Replay.h.

Constructor & Destructor Documentation

◆ ReplayOptions() [1/2]

ReplayOptions ( )
inline

Initializes instance with default values.

Definition at line 105 of file Replay.h.

◆ ReplayOptions() [2/2]

ReplayOptions ( const std::string & filesRoot,
const std::string & filesExtension = ".log" )
inlineexplicit

Initializes with all the files which are available and stored in a given folder.

Definition at line 115 of file Replay.h.

Member Data Documentation

◆ listener

ReplayListener* listener

Instance to notify about replay events.

Definition at line 90 of file Replay.h.

◆ logs

FilesList logs

List of files to be replayed. Must be stored in 'oldest to recent' order. Supported formats: .log (raw log), .gz, .bz2, .z.

Definition at line 87 of file Replay.h.

◆ packetReplayDelay

unsigned int packetReplayDelay

Specifies the time delay (milliseconds) between replayed packets.

Note
Ability to control replay rate. The default value is 0 milliseconds.

Definition at line 95 of file Replay.h.

◆ playSpeedMultiplier

float playSpeedMultiplier

Replay multiplier. Used only in ReplayMode::NaturalPacketReplayDelay The default value is 1

Definition at line 99 of file Replay.h.

◆ replayMode

ReplayMode::Enum replayMode

Replay mode. The default value is ReplayMode::ConstantPacketReplayDelay.

Definition at line 102 of file Replay.h.