OnixS BME SENAF Handler C++ library  2.0.1
API documentation
LogReplayInputStream Class Referenceabstract

#include <OnixS/Senaf/MarketData/HandlerSettings.h>

Public Member Functions

virtual size_t read (char *const data, size_t size)=0

Protected Member Functions

virtual ~LogReplayInputStream ()

Detailed Description

Definition at line 66 of file HandlerSettings.h.

Constructor & Destructor Documentation

virtual ~LogReplayInputStream ( )

Deletion is not supposed through interface of this class.

Definition at line 91 of file HandlerSettings.h.

Member Function Documentation

virtual size_t read ( char *const  data,
size_t  size 
pure virtual

Called when log player wants to read data from stream.

databuffer to read data into
sizemax size to read
0 in case of EOF, actually read bytes count otherwise
Implementation is free to throw any exceptions. Player would react differently depending on exception type.


  • std::ios_base::failure – serious problem on getting data means do not try any further reading from stream and terminate playing;

Absolutely all exceptions are reported via error handler. Description string will be available for children of std::exception.

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