Android-cuttlefish cvd tool
Public Member Functions | Public Attributes | List of all members
cuttlefish::LazilyLoadedFile::Impl Struct Reference
Collaboration diagram for cuttlefish::LazilyLoadedFile::Impl:
Collaboration graph
[legend]

Public Member Functions

 ~Impl ()
 
std::string MetadataFile () const
 
Result< void > ReadMetadata ()
 
Result< void > WriteMetadata ()
 
Result< uint64_t, int > PRead (void *, uint64_t, uint64_t)
 

Public Attributes

std::string filename_
 
Fd contents_file_
 
std::unique_ptr< ReaderSeeker > callback_
 
DisjointRangeSet already_downloaded_
 
uint64_t size_
 
std::vector< char > extended_read_buffer_
 
std::mutex mutex_
 

Constructor & Destructor Documentation

◆ ~Impl()

cuttlefish::LazilyLoadedFile::Impl::~Impl ( )

Member Function Documentation

◆ MetadataFile()

std::string cuttlefish::LazilyLoadedFile::Impl::MetadataFile ( ) const

◆ PRead()

Result< uint64_t, int > cuttlefish::LazilyLoadedFile::Impl::PRead ( void *  data,
uint64_t  size,
uint64_t  offset 
)

◆ ReadMetadata()

Result< void > cuttlefish::LazilyLoadedFile::Impl::ReadMetadata ( )

◆ WriteMetadata()

Result< void > cuttlefish::LazilyLoadedFile::Impl::WriteMetadata ( )

Member Data Documentation

◆ already_downloaded_

DisjointRangeSet cuttlefish::LazilyLoadedFile::Impl::already_downloaded_

◆ callback_

std::unique_ptr<ReaderSeeker> cuttlefish::LazilyLoadedFile::Impl::callback_

◆ contents_file_

Fd cuttlefish::LazilyLoadedFile::Impl::contents_file_

◆ extended_read_buffer_

std::vector<char> cuttlefish::LazilyLoadedFile::Impl::extended_read_buffer_

◆ filename_

std::string cuttlefish::LazilyLoadedFile::Impl::filename_

◆ mutex_

std::mutex cuttlefish::LazilyLoadedFile::Impl::mutex_

◆ size_

uint64_t cuttlefish::LazilyLoadedFile::Impl::size_

The documentation for this struct was generated from the following file: