Audacity 3.2.0
Public Types | Public Member Functions | Public Attributes | List of all members
audacity::cloud::audiocom::TransferStats Struct Referencefinal

#include <NetworkUtils.h>

Public Types

using Duration = std::chrono::milliseconds
 

Public Member Functions

TransferStatsSetBytesTransferred (int64_t bytesTransferred)
 
TransferStatsSetBlocksTransferred (int64_t blocksTransferred)
 
TransferStatsSetProjectFilesTransferred (int64_t projectFilesTransferred)
 
TransferStatsSetTransferDuration (Duration transferDuration)
 

Public Attributes

int64_t BytesTransferred {}
 
int64_t BlocksTransferred {}
 
int64_t ProjectFilesTransferred {}
 
Duration TransferDuration {}
 

Detailed Description

Definition at line 25 of file NetworkUtils.h.

Member Typedef Documentation

◆ Duration

using audacity::cloud::audiocom::TransferStats::Duration = std::chrono::milliseconds

Definition at line 27 of file NetworkUtils.h.

Member Function Documentation

◆ SetBlocksTransferred()

TransferStats & audacity::cloud::audiocom::TransferStats::SetBlocksTransferred ( int64_t  blocksTransferred)

Definition at line 134 of file NetworkUtils.cpp.

135{
136 BlocksTransferred = blocksTransferred;
137 return *this;
138}

References BlocksTransferred.

Referenced by audacity::cloud::audiocom::sync::RemoteProjectSnapshot::GetTransferStats().

Here is the caller graph for this function:

◆ SetBytesTransferred()

TransferStats & audacity::cloud::audiocom::TransferStats::SetBytesTransferred ( int64_t  bytesTransferred)

Definition at line 128 of file NetworkUtils.cpp.

129{
130 BytesTransferred = bytesTransferred;
131 return *this;
132}

References BytesTransferred.

Referenced by audacity::cloud::audiocom::sync::RemoteProjectSnapshot::GetTransferStats().

Here is the caller graph for this function:

◆ SetProjectFilesTransferred()

TransferStats & audacity::cloud::audiocom::TransferStats::SetProjectFilesTransferred ( int64_t  projectFilesTransferred)

Definition at line 141 of file NetworkUtils.cpp.

142{
143 ProjectFilesTransferred = projectFilesTransferred;
144 return *this;
145}

References ProjectFilesTransferred.

Referenced by audacity::cloud::audiocom::sync::RemoteProjectSnapshot::GetTransferStats().

Here is the caller graph for this function:

◆ SetTransferDuration()

TransferStats & audacity::cloud::audiocom::TransferStats::SetTransferDuration ( Duration  transferDuration)

Definition at line 147 of file NetworkUtils.cpp.

148{
149 TransferDuration = transferDuration;
150 return *this;
151}

References TransferDuration.

Referenced by audacity::cloud::audiocom::sync::RemoteProjectSnapshot::GetTransferStats().

Here is the caller graph for this function:

Member Data Documentation

◆ BlocksTransferred

int64_t audacity::cloud::audiocom::TransferStats::BlocksTransferred {}

◆ BytesTransferred

int64_t audacity::cloud::audiocom::TransferStats::BytesTransferred {}

◆ ProjectFilesTransferred

int64_t audacity::cloud::audiocom::TransferStats::ProjectFilesTransferred {}

◆ TransferDuration

Duration audacity::cloud::audiocom::TransferStats::TransferDuration {}

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