senf::StatisticsData Struct Reference

#include <senf/Utils/StatisticAccumulator.hh>

Inheritance diagram for senf::StatisticsData:

Public Member Functions

 StatisticsData ()
 
 StatisticsData (float min_, float avg_, float max_, float stddev_, unsigned cnt_)
 
 StatisticsData (float singleValue)
 
void clear ()
 
 operator bool () const
 
bool operator< (StatisticsData const &other) const
 
boost::property_tree::ptree asPTree () const
 

Public Attributes

float min
 
float avg
 
float max
 
float stddev
 
unsigned cnt
 

Detailed Description

Definition at line 29 of file StatisticAccumulator.hh.

Constructor & Destructor Documentation

◆ StatisticsData() [1/3]

senf::StatisticsData::StatisticsData ( )

◆ StatisticsData() [2/3]

senf::StatisticsData::StatisticsData ( float  min_,
float  avg_,
float  max_,
float  stddev_,
unsigned  cnt_ 
)

◆ StatisticsData() [3/3]

senf::StatisticsData::StatisticsData ( float  singleValue)

Member Function Documentation

◆ asPTree()

boost::property_tree::ptree senf::StatisticsData::asPTree ( ) const

Definition at line 44 of file StatisticAccumulator.cc.

◆ clear()

void senf::StatisticsData::clear ( )

Definition at line 23 of file StatisticAccumulator.cc.

◆ operator bool()

senf::StatisticsData::operator bool ( ) const
explicit

◆ operator<()

bool senf::StatisticsData::operator< ( StatisticsData const &  other) const

Member Data Documentation

◆ avg

float senf::StatisticsData::avg

Definition at line 44 of file StatisticAccumulator.hh.

◆ cnt

unsigned senf::StatisticsData::cnt

Definition at line 47 of file StatisticAccumulator.hh.

◆ max

float senf::StatisticsData::max

Definition at line 45 of file StatisticAccumulator.hh.

◆ min

float senf::StatisticsData::min

Definition at line 43 of file StatisticAccumulator.hh.

◆ stddev

float senf::StatisticsData::stddev

Definition at line 46 of file StatisticAccumulator.hh.


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