Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members

TStat Class Reference

#include <lstat.h>

Inheritance diagram for TStat:

LStat List of all members.

Public Member Functions

 TStat (char *n, EvSim *Sim)
 ~TStat (void)
virtual void accum (double x)
virtual void reset (void)

Detailed Description

Time-averaged statistics


Constructor & Destructor Documentation

TStat::TStat char *  n,
EvSim Sim
 

Constructor. Creates a timed statitical gatherer

Parameters:
n descriptive name
Sim pointer to the simulator object to get time information.

TStat::~TStat void   ) 
 

Destructor. Automatically dumps statistical data


Member Function Documentation

void TStat::accum double  x  )  [virtual]
 

Stores a new value in the statistical object

Parameters:
x value to account for

Reimplemented from LStat.

void TStat::reset void   )  [virtual]
 

Reset this statistical gatherer.

Reimplemented from LStat.


The documentation for this class was generated from the following files:
Generated on Fri Jan 19 15:35:17 2007 by  doxygen 1.4.2