OnixS C++ Euronext Optiq MDG Handler 1.3.3
API documentation
Loading...
Searching...
No Matches
ReplayOptions Struct Reference

Public Member Functions

 ReplayOptions ()
 ReplayOptions (const std::string &logsRoot)

Public Attributes

HandlerLogs logs
ReplayListenerlistener
unsigned int packetReplayDelay

Detailed Description

Definition at line 59 of file Replay.h.

Constructor & Destructor Documentation

◆ ReplayOptions() [1/2]

ReplayOptions ( )
inline

Initializes instance with default values.

Definition at line 74 of file Replay.h.

◆ ReplayOptions() [2/2]

ReplayOptions ( const std::string & logsRoot)
inlineexplicit

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

Definition at line 83 of file Replay.h.

Member Data Documentation

◆ listener

ReplayListener* listener

Instance to notify about replay events.

Definition at line 66 of file Replay.h.

◆ logs

List of instruments logs to be replayed.

Must be stored in 'oldest to recent' order.

Definition at line 63 of file Replay.h.

◆ packetReplayDelay

unsigned int packetReplayDelay

Specifies the time delay (milliseconds) between replayed packets.

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

Definition at line 71 of file Replay.h.