Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FStatisticalValue< T > Struct Template Reference

#include <StatisticalFloat.h>

Public Member Functions

 FStatisticalValue ()
 
void AddSample (T Value)
 
T GetMinValue () const
 
T GetMaxValue () const
 
T GetAvgValue () const
 
int32 GetCount () const
 

Private Attributes

T MinValue
 
T MaxValue
 
T Accumulator
 
int32 NumSamples
 

Detailed Description

template<typename T>
struct FStatisticalValue< T >

Definition at line 11 of file StatisticalFloat.h.

Constructor & Destructor Documentation

◆ FStatisticalValue()

Definition at line 14 of file StatisticalFloat.h.

Member Function Documentation

◆ AddSample()

template<typename T >
void FStatisticalValue< T >::AddSample ( T Value)
inline

Definition at line 22 of file StatisticalFloat.h.

◆ GetAvgValue()

template<typename T >
T FStatisticalValue< T >::GetAvgValue ( ) const
inline

Definition at line 47 of file StatisticalFloat.h.

◆ GetCount()

template<typename T >
int32 FStatisticalValue< T >::GetCount ( ) const
inline

Definition at line 52 of file StatisticalFloat.h.

◆ GetMaxValue()

template<typename T >
T FStatisticalValue< T >::GetMaxValue ( ) const
inline

Definition at line 42 of file StatisticalFloat.h.

◆ GetMinValue()

template<typename T >
T FStatisticalValue< T >::GetMinValue ( ) const
inline

Definition at line 37 of file StatisticalFloat.h.

Member Data Documentation

◆ Accumulator

template<typename T >
T FStatisticalValue< T >::Accumulator
private

Definition at line 60 of file StatisticalFloat.h.

◆ MaxValue

template<typename T >
T FStatisticalValue< T >::MaxValue
private

Definition at line 59 of file StatisticalFloat.h.

◆ MinValue

template<typename T >
T FStatisticalValue< T >::MinValue
private

Definition at line 58 of file StatisticalFloat.h.

◆ NumSamples

template<typename T >
int32 FStatisticalValue< T >::NumSamples
private

Definition at line 61 of file StatisticalFloat.h.


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