#include <LogReplayInputStream.h>
Public Member Functions | |
virtual size_t | read (char *const data, std::size_t size)=0 |
Protected Member Functions | |
virtual | ~LogReplayInputStream () |
Definition at line 27 of file LogReplayInputStream.h.
|
inlineprotectedvirtual |
Deletion is not supposed through interface of this class.
Definition at line 52 of file LogReplayInputStream.h.
|
pure virtual |
Called when log player wants to read data from stream.
data | buffer to read data into |
size | max size to read |
0
in case of EOF, actually read bytes count otherwiseParticularly:
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
.