44 virtual void onReplayError (
const std::string& errorDescription) = 0;
47 virtual void onReplayFinished() = 0;
56 void ONIXS_B3_UMDF_MD_API
gatherLogs(HandlerLogs* gatheredLogs,
const std::string& root);
76 , packetReplayDelay(0)
85 , packetReplayDelay(0)
ReplayOptions()
Initializes instance with default values.
#define ONIXS_B3_UMDF_MD_NULLPTR
Listening interface for log replay-related events.
std::vector< std::string > HandlerLogs
Ordered list of logs to be replayed.
void ONIXS_B3_UMDF_MD_API gatherLogs(HandlerLogs *gatheredLogs, const std::string &root)
Gathers log files logs which are stored in a given folder.
std::vector< std::string >::iterator HandlerLogsEntry
Read-write iterator over ordered list of logs to be replayed.
Defines ONIXS_B3_UMDF_MD_API which affect logs replay.
ReplayOptions(const std::string &logsRoot)
Initializes with all the logs which are available and are stored in a given folder.
HandlerLogs logs
List of instruments logs to be replayed.
virtual ~ReplayListener()
Deletion is not supposed through interface of this class.
ReplayListener * listener
Instance to notify about replay events.
unsigned int packetReplayDelay
Specifies the time delay (milliseconds) between replayed packets.