Shaka Packager SDK
Public Types | Public Member Functions | Protected Member Functions | List of all members
shaka::ThreadedIoFile Class Reference

Declaration of class which implements a thread-safe circular buffer. More...

#include <threaded_io_file.h>

Inheritance diagram for shaka::ThreadedIoFile:

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
 

Detailed Description

Declaration of class which implements a thread-safe circular buffer.

Definition at line 23 of file threaded_io_file.h.


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