cHistogramBase Class Reference
[Statistical data collection]

Base class for histogram classes. More...

#include <chistogram.h>

Inheritance diagram for cHistogramBase:
cDensityEstBase cStdDev cStatistic cOwnedObject cNamedObject cObject cHistogram cVarHistogram cDoubleHistogram cLongHistogram

List of all members.

Public Member Functions

Constructors, destructor, assignment.

 cHistogramBase (const cHistogramBase &r)
 cHistogramBase (const char *name, int numcells)
virtual ~cHistogramBase ()
cHistogramBaseoperator= (const cHistogramBase &res)
Redefined cObject member functions.

virtual void parsimPack (cCommBuffer *buffer)
virtual void parsimUnpack (cCommBuffer *buffer)
Redefined member functions from cStatistic and its subclasses.

virtual void clearResult ()
virtual void transform ()
virtual int getNumCells () const
virtual void saveToFile (FILE *) const
virtual void loadFromFile (FILE *)
New member functions.

virtual void setNumCells (int numcells)

Detailed Description

Base class for histogram classes.

It adds a vector of counters to cDensityEstBase.


Member Function Documentation

cHistogramBase& cHistogramBase::operator= ( const cHistogramBase res  ) 

Assignment operator.

The name member is not copied; see cNamedObject's operator=() for more details.

virtual void cHistogramBase::parsimPack ( cCommBuffer buffer  )  [virtual]

Serializes the object into an MPI send buffer.

Used by the simulation kernel for parallel execution. See cObject for more details.

Reimplemented from cDensityEstBase.

Reimplemented in cHistogram, and cVarHistogram.

virtual void cHistogramBase::parsimUnpack ( cCommBuffer buffer  )  [virtual]

Deserializes the object from an MPI receive buffer Used by the simulation kernel for parallel execution.

See cObject for more details.

Reimplemented from cDensityEstBase.

Reimplemented in cHistogram, and cVarHistogram.

virtual void cHistogramBase::setNumCells ( int  numcells  )  [virtual]

Sets the number of cells.

Cannot be called when the cells have been set up already.


The documentation for this class was generated from the following file:
Generated on Tue Dec 2 11:16:28 2014 for OMNeT++ Simulation Library by  doxygen 1.6.3