Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Debug
SummaryStats.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "Types.h"
6
7
namespace
Eegeo
8
{
9
namespace
Debug
10
{
11
class
SummaryStats
:
protected
Eegeo::NonCopyable
12
{
13
public
:
14
SummaryStats
();
15
16
void
addSample(
float
sample);
17
float
mean()
const
;
18
int
numOfSamples()
const
;
19
float
sumOfSamples()
const
;
20
float
max()
const
;
21
float
min()
const
;
22
23
void
Reset();
24
25
private
:
26
int
m_numOfSamples;
27
float
m_sumOfSamples;
28
float
m_maxSample;
29
float
m_minSample;
30
};
31
}
32
}
Generated on Sat Jun 10 2023 02:00:30 for eeGeo Platform SDK by
1.8.3.1