OnixS C++ B3 Binary UMDF Market Data Handler  1.6.3
API documentation
ReplayOptions Struct Reference

#include <OnixS/B3/MarketData/UMDF/Replay.h>

Public Member Functions

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

Public Attributes

FilesList files
 
ReplayListenerlistener
 
unsigned int packetReplayDelay = 0
 
float playSpeedMultiplier = 0.0f
 
ReplayMode::Enum replayMode = ReplayMode::ConstantPacketReplayDelay
 

Detailed Description

Definition at line 87 of file Replay.h.

Constructor & Destructor Documentation

ReplayOptions ( )
inline

Initializes instance with default values.

Definition at line 108 of file Replay.h.

ReplayOptions ( const std::string &  filesRoot,
const std::string &  extension = ".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

FilesList files

List of files to be replayed.

Must be stored in 'oldest to recent' order.

Definition at line 91 of file Replay.h.

ReplayListener* listener

Instance to notify about replay events.

Definition at line 94 of file Replay.h.

unsigned int packetReplayDelay = 0

Specifies the time delay (milliseconds) between replayed packets.

Note
Ability to control replay rate.

Definition at line 99 of file Replay.h.

float playSpeedMultiplier = 0.0f

Replay multiplier. Used only in ReplayMode::NaturalPacketReplayDelay.

Definition at line 102 of file Replay.h.

Replay mode.

Definition at line 105 of file Replay.h.


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