libqi-api  2.1.4.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
qi::MinMaxSum Class Reference

Stores min, max and sum of values fed to it. More...

#include <stats.hpp>

Public Member Functions

 MinMaxSum ()
 
 MinMaxSum (float minValue, float maxValue, float cumulatedValue)
 
const float & minValue () const
 
const float & maxValue () const
 
const float & cumulatedValue () const
 
void push (float val, bool init=false)
 
void reset ()
 
std::string asString (unsigned int count) const
 

Detailed Description

Stores min, max and sum of values fed to it.

Definition at line 16 of file stats.hpp.

Constructor & Destructor Documentation

qi::MinMaxSum::MinMaxSum ( )
inline

Definition at line 19 of file stats.hpp.

qi::MinMaxSum::MinMaxSum ( float  minValue,
float  maxValue,
float  cumulatedValue 
)
inline

Definition at line 20 of file stats.hpp.

Member Function Documentation

std::string qi::MinMaxSum::asString ( unsigned int  count) const
inline

Definition at line 42 of file stats.hpp.

const float& qi::MinMaxSum::cumulatedValue ( ) const
inline

Definition at line 26 of file stats.hpp.

const float& qi::MinMaxSum::maxValue ( ) const
inline

Definition at line 25 of file stats.hpp.

const float& qi::MinMaxSum::minValue ( ) const
inline

Definition at line 24 of file stats.hpp.

void qi::MinMaxSum::push ( float  val,
bool  init = false 
)
inline

Definition at line 27 of file stats.hpp.

void qi::MinMaxSum::reset ( )
inline

Definition at line 38 of file stats.hpp.


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