Audacity 3.2.0
Public Member Functions | List of all members
audacity::cloud::audiocom::sync::BlockHashCache Class Referenceabstract

#include <BlockHasher.h>

Inheritance diagram for audacity::cloud::audiocom::sync::BlockHashCache:
[legend]

Public Member Functions

virtual ~BlockHashCache ()=default
 
virtual bool GetHash (int64_t blockId, std::string &hash) const =0
 
virtual void UpdateHash (int64_t blockId, const std::string &hash)=0
 

Detailed Description

Definition at line 24 of file BlockHasher.h.

Constructor & Destructor Documentation

◆ ~BlockHashCache()

virtual audacity::cloud::audiocom::sync::BlockHashCache::~BlockHashCache ( )
virtualdefault

Member Function Documentation

◆ GetHash()

virtual bool audacity::cloud::audiocom::sync::BlockHashCache::GetHash ( int64_t  blockId,
std::string &  hash 
) const
pure virtual

Implemented in audacity::cloud::audiocom::sync::LocalProjectSnapshot::ProjectBlocksLock.

Referenced by audacity::cloud::audiocom::sync::BlockHasher::Workers::ComputeHash().

Here is the caller graph for this function:

◆ UpdateHash()

virtual void audacity::cloud::audiocom::sync::BlockHashCache::UpdateHash ( int64_t  blockId,
const std::string &  hash 
)
pure virtual

Implemented in audacity::cloud::audiocom::sync::LocalProjectSnapshot::ProjectBlocksLock.

Referenced by audacity::cloud::audiocom::sync::BlockHasher::Workers::TakeResult().

Here is the caller graph for this function:

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