YARP  2.3.70.1
Yet Another Robot Platform
yarp::os::Stat Class Reference

#include <yarp/os/Ping.h>

Public Member Functions

 Stat ()
 
void clear ()
 
void add (double val)
 
void add (const Stat &alt)
 
double mean ()
 
double deviation ()
 
double count ()
 
 operator double ()
 

Private Member Functions

void compute ()
 

Private Attributes

int ct
 
int at
 
double tot
 
double tot2
 
double mu
 
double sigma
 

Detailed Description

Definition at line 22 of file Ping.h.

Constructor & Destructor Documentation

◆ Stat()

yarp::os::Stat::Stat ( )
inline

Definition at line 24 of file Ping.h.

Member Function Documentation

◆ add() [1/2]

void yarp::os::Stat::add ( double  val)
inline

Definition at line 37 of file Ping.h.

◆ add() [2/2]

void yarp::os::Stat::add ( const Stat alt)
inline

Definition at line 43 of file Ping.h.

◆ clear()

void yarp::os::Stat::clear ( )
inline

Definition at line 28 of file Ping.h.

◆ compute()

void yarp::os::Stat::compute ( )
inlineprivate

Definition at line 68 of file Ping.h.

◆ count()

double yarp::os::Stat::count ( )
inline

Definition at line 59 of file Ping.h.

◆ deviation()

double yarp::os::Stat::deviation ( )
inline

Definition at line 54 of file Ping.h.

◆ mean()

double yarp::os::Stat::mean ( )
inline

Definition at line 49 of file Ping.h.

◆ operator double()

yarp::os::Stat::operator double ( )
inline

Definition at line 63 of file Ping.h.

Member Data Documentation

◆ at

int yarp::os::Stat::at
private

Definition at line 79 of file Ping.h.

◆ ct

int yarp::os::Stat::ct
private

Definition at line 79 of file Ping.h.

◆ mu

double yarp::os::Stat::mu
private

Definition at line 81 of file Ping.h.

◆ sigma

double yarp::os::Stat::sigma
private

Definition at line 81 of file Ping.h.

◆ tot

double yarp::os::Stat::tot
private

Definition at line 80 of file Ping.h.

◆ tot2

double yarp::os::Stat::tot2
private

Definition at line 80 of file Ping.h.


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