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

#include <TelemetryUploadCadence.h>

Public Member Functions

 PeriodicGate (double intervalSeconds)
bool Advance (double elapsedSeconds)
void Reset ()
double IntervalSeconds () const
double AccumulatedSeconds () const

Private Attributes

double intervalSeconds_
double accumulatedSeconds_ = 0.0

Detailed Description

Definition at line 12 of file TelemetryUploadCadence.h.

Constructor & Destructor Documentation

◆ PeriodicGate()

Telemetry::PeriodicGate::PeriodicGate ( double intervalSeconds)
explicit

Definition at line 10 of file TelemetryUploadCadence.cpp.

Member Function Documentation

◆ AccumulatedSeconds()

double Telemetry::PeriodicGate::AccumulatedSeconds ( ) const

Definition at line 46 of file TelemetryUploadCadence.cpp.

◆ Advance()

bool Telemetry::PeriodicGate::Advance ( double elapsedSeconds)

Definition at line 17 of file TelemetryUploadCadence.cpp.

Here is the caller graph for this function:

◆ IntervalSeconds()

double Telemetry::PeriodicGate::IntervalSeconds ( ) const

Definition at line 41 of file TelemetryUploadCadence.cpp.

◆ Reset()

void Telemetry::PeriodicGate::Reset ( )

Definition at line 36 of file TelemetryUploadCadence.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ accumulatedSeconds_

double Telemetry::PeriodicGate::accumulatedSeconds_ = 0.0
private

Definition at line 24 of file TelemetryUploadCadence.h.

◆ intervalSeconds_

double Telemetry::PeriodicGate::intervalSeconds_
private

Definition at line 23 of file TelemetryUploadCadence.h.


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