Android-cuttlefish cvd tool
Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends | List of all members
cuttlefish::ZipSourceReader Class Reference

#include <readable_source.h>

Inheritance diagram for cuttlefish::ZipSourceReader:
Inheritance graph
[legend]
Collaboration diagram for cuttlefish::ZipSourceReader:
Collaboration graph
[legend]

Public Member Functions

 ZipSourceReader (ZipSourceReader &&)
 
virtual ~ZipSourceReader ()
 
ZipSourceReaderoperator= (ZipSourceReader &&)
 
Result< uint64_t > Read (void *data, uint64_t length) override
 
- Public Member Functions inherited from cuttlefish::Reader
virtual ~Reader ()=default
 
Result< void > Visit (IoVisitor &) override
 
virtual Result< uint64_t > Read (void *buf, uint64_t count)=0
 
- Public Member Functions inherited from cuttlefish::IoVisitable
virtual ~IoVisitable ()=default
 
virtual Result< void > Visit (IoVisitor &)=0
 

Protected Attributes

std::recursive_mutex mutex_
 

Private Member Functions

 ZipSourceReader (ReadableZipSource *)
 

Private Attributes

ReadableZipSourcesource_
 

Friends

class ReadableZipSource
 
class SeekingZipSourceReader
 

Constructor & Destructor Documentation

◆ ZipSourceReader() [1/2]

cuttlefish::ZipSourceReader::ZipSourceReader ( ZipSourceReader &&  other)

◆ ~ZipSourceReader()

cuttlefish::ZipSourceReader::~ZipSourceReader ( )
virtual

◆ ZipSourceReader() [2/2]

cuttlefish::ZipSourceReader::ZipSourceReader ( ReadableZipSource source)
private

Member Function Documentation

◆ operator=()

ZipSourceReader & cuttlefish::ZipSourceReader::operator= ( ZipSourceReader &&  other)

◆ Read()

Result< uint64_t > cuttlefish::ZipSourceReader::Read ( void *  data,
uint64_t  length 
)
overridevirtual

Friends And Related Function Documentation

◆ ReadableZipSource

friend class ReadableZipSource
friend

◆ SeekingZipSourceReader

friend class SeekingZipSourceReader
friend

Member Data Documentation

◆ mutex_

std::recursive_mutex cuttlefish::ZipSourceReader::mutex_
protected

◆ source_

ReadableZipSource* cuttlefish::ZipSourceReader::source_
private

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