|virtual size_t ||read (char *const data, size_t size)=0|
Definition at line 66 of file HandlerSettings.h.
Deletion is not supposed through interface of this class.
Definition at line 91 of file HandlerSettings.h.
|virtual size_t read
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 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
The documentation for this class was generated from the following file: