ns3::TimeMinMaxAvgTotalCalculator Class Reference

#include <time-data-calculators.h>

Inherits ns3::DataCalculator.

List of all members.

Protected Member Functions

virtual void DoDispose (void)

Protected Attributes

uint32_t m_count

Detailed Description

Unfortunately, templating the base MinMaxAvgTotalCalculator to operate over Time values isn't straightforward. The main issues are setting the maximum value, which can be worked around easily as it done here, and dividing to get the average, which is not as easily worked around.

Member Function Documentation

virtual void ns3::TimeMinMaxAvgTotalCalculator::DoDispose ( void   )  [protected, virtual]

This method is called by Object::Dispose or by the object's destructor, whichever comes first.

Subclasses are expected to implement their real destruction code in an overriden version of this method and chain up to their parent's implementation once they are done. i.e., for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose method.

Reimplemented from ns3::Object.

Member Data Documentation

The reference count for this object. Each aggregate has an individual reference count. When the global reference count (the sum of all reference counts) reaches zero, the object and all its aggregates is deleted.

Reimplemented from ns3::Object.

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

Generated on Fri Apr 9 15:01:08 2010 for NS-3 by  doxygen 1.5.8