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

#include <yarp/os/Ping.h>

Detailed Description

Definition at line 22 of file 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
 

Constructor & Destructor Documentation

◆ Stat()

Stat::Stat ( )

Definition at line 24 of file Ping.cpp.

Member Function Documentation

◆ add() [1/2]

void Stat::add ( double  val)

Definition at line 39 of file Ping.cpp.

◆ add() [2/2]

void Stat::add ( const Stat alt)

Definition at line 46 of file Ping.cpp.

◆ clear()

void Stat::clear ( )

Definition at line 29 of file Ping.cpp.

◆ compute()

void Stat::compute ( )
private

Definition at line 75 of file Ping.cpp.

◆ count()

double Stat::count ( )

Definition at line 65 of file Ping.cpp.

◆ deviation()

double Stat::deviation ( )

Definition at line 59 of file Ping.cpp.

◆ mean()

double Stat::mean ( )

Definition at line 53 of file Ping.cpp.

◆ operator double()

Stat::operator double ( )

Definition at line 70 of file Ping.cpp.

Member Data Documentation

◆ at

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

Definition at line 41 of file Ping.h.

◆ ct

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

Definition at line 40 of file Ping.h.

◆ mu

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

Definition at line 44 of file Ping.h.

◆ sigma

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

Definition at line 45 of file Ping.h.

◆ tot

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

Definition at line 42 of file Ping.h.

◆ tot2

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

Definition at line 43 of file Ping.h.


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