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

Public Member Functions

 ReplayOptions ()
 ReplayOptions (const std::string &filesRoot, const std::string &filesExtention=".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 104 of file Replay.h.

◆ ReplayOptions() [2/2]

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

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

Definition at line 114 of file Replay.h.

Member Data Documentation

◆ listener

ReplayListener* listener

Instance to notify about replay events.

Definition at line 89 of file Replay.h.

◆ logs

FilesList logs

List of files to be replayed. Must be stored in 'oldest to recent' order.

Definition at line 86 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 94 of file Replay.h.

◆ playSpeedMultiplier

float playSpeedMultiplier

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

Definition at line 98 of file Replay.h.

◆ replayMode

ReplayMode::Enum replayMode

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

Definition at line 101 of file Replay.h.