![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <NetStatsUtils.h>
Inheritance diagram for UE::Net::FBinnedMovingValueBase:Classes | |
| struct | FBin |
Public Member Functions | |
| NETCORE_API double | GetSample () const |
| NETCORE_API void | Reset () |
Protected Member Functions | |
| FBinnedMovingValueBase ()=delete | |
| NETCORE_API | FBinnedMovingValueBase (const TArrayView< FBin > InBins, double InTimePerBin, EBinnedValueMode InMode) |
| NETCORE_API void | AddMeasurement_Implementation (double TimeVal, double Value, TOptional< double > &OutSample) |
Base class for moving values, implementing non-templatized data-structure/methods. See TBinnedMovingValue.
|
protecteddelete |
|
explicitprotected |
|
protected |
Internal implementation for AddMeasurement, which outputs a sample if the bins have filled and rolled back over to FirstBinIndex.
| TimeVal | The time value associated with the measurement, for time-based binning |
| Value | The measurement value |
| OutSample | Outputs a sample, if all bins have filled and rolled back over to FirstBinIndex |
| double UE::Net::FBinnedMovingValueBase::GetSample | ( | ) | const |
Gets a sample of the calculated moving value, based on current bin data.
| void UE::Net::FBinnedMovingValueBase::Reset | ( | ) |
Resets the accumulated bin/sample data.