Shaka Packager SDK
|
Declaration of class which implements a thread-safe circular buffer. More...
#include <threaded_io_file.h>
Public Types | |
enum | Mode { kInputMode , kOutputMode } |
Public Member Functions | |
ThreadedIoFile (std::unique_ptr< File, FileCloser > internal_file, Mode mode, uint64_t io_cache_size, uint64_t io_block_size) | |
File implementation overrides. | |
bool | Close () override |
int64_t | Read (void *buffer, uint64_t length) override |
int64_t | Write (const void *buffer, uint64_t length) override |
void | CloseForWriting () override |
int64_t | Size () override |
bool | Flush () override |
bool | Seek (uint64_t position) override |
bool | Tell (uint64_t *position) override |
Protected Member Functions | |
bool | Open () override |
Declaration of class which implements a thread-safe circular buffer.
Definition at line 23 of file threaded_io_file.h.