Rise
The Vieneo Province
Loading...
Searching...
No Matches
Telemetry::UploadDiagnostics Class Reference

#include <TelemetryUploadCadence.h>

Collaboration diagram for Telemetry::UploadDiagnostics:
[legend]

Public Member Functions

void Reset ()
void RecordPacket (double nowSeconds)
UploadMetrics GetMetrics (double nowSeconds) const

Private Attributes

UploadMetrics metrics_
double packetWindowStartSeconds_ = 0.0
double lastPacketSeconds_ = 0.0
std::uint32_t packetWindowCount_ = 0

Detailed Description

Definition at line 36 of file TelemetryUploadCadence.h.

Member Function Documentation

◆ GetMetrics()

UploadMetrics Telemetry::UploadDiagnostics::GetMetrics ( double nowSeconds) const

Definition at line 85 of file TelemetryUploadCadence.cpp.

Here is the caller graph for this function:

◆ RecordPacket()

void Telemetry::UploadDiagnostics::RecordPacket ( double nowSeconds)

Definition at line 59 of file TelemetryUploadCadence.cpp.

Here is the caller graph for this function:

◆ Reset()

void Telemetry::UploadDiagnostics::Reset ( )

Definition at line 51 of file TelemetryUploadCadence.cpp.

Member Data Documentation

◆ lastPacketSeconds_

double Telemetry::UploadDiagnostics::lastPacketSeconds_ = 0.0
private

Definition at line 46 of file TelemetryUploadCadence.h.

◆ metrics_

UploadMetrics Telemetry::UploadDiagnostics::metrics_
private

Definition at line 44 of file TelemetryUploadCadence.h.

◆ packetWindowCount_

std::uint32_t Telemetry::UploadDiagnostics::packetWindowCount_ = 0
private

Definition at line 47 of file TelemetryUploadCadence.h.

◆ packetWindowStartSeconds_

double Telemetry::UploadDiagnostics::packetWindowStartSeconds_ = 0.0
private

Definition at line 45 of file TelemetryUploadCadence.h.


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