User Manual, Developers Guide and API Documentation

wns::AverageBase Class Reference

Base class to compute the average.

#include <Average.hpp>

Inheritance diagram for wns::AverageBase:

Inheritance graph
[legend]
Collaboration diagram for wns::AverageBase:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 AverageBase ()
 Default Constructor.
virtual void reset ()
 Reset the mean to 0.0.
virtual ~AverageBase ()
 Destructor.

Protected Attributes

double mean
 Stores the average.
unsigned long int samples
 The number of samples that have been used to compute the mean.


Detailed Description

Definition at line 38 of file Average.hpp.


Constructor & Destructor Documentation

wns::AverageBase::AverageBase (  )  [inline]

Definition at line 44 of file Average.hpp.

virtual wns::AverageBase::~AverageBase (  )  [inline, virtual]

Definition at line 55 of file Average.hpp.


Member Function Documentation

virtual void wns::AverageBase::reset (  )  [inline, virtual]


Member Data Documentation

Definition at line 75 of file Average.hpp.

unsigned long int wns::AverageBase::samples [protected]

Definition at line 81 of file Average.hpp.


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

Generated on Sat May 26 03:32:50 2012 for openWNS by  doxygen 1.5.5