UniformTimeDist Class Reference
[pydtn]

Uniform time distribution. More...

#include <pydtn/UniformTimeDist.h>

Inheritance diagram for UniformTimeDist:

Inheritance graph
[legend]
Collaboration diagram for UniformTimeDist:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 UniformTimeDist (const Time &period)
 Constructor.
virtual ~UniformTimeDist ()
 Virtual destructor.
Time operator() (const Time &t)
 Functional operator.


Detailed Description

Uniform time distribution.

The new time is always a fixed period from the previous.

Definition at line 43 of file UniformTimeDist.h.


Constructor & Destructor Documentation

UniformTimeDist::UniformTimeDist ( const Time period  ) 

Constructor.

Parameters:
period The time between elements of the distribution

Definition at line 33 of file UniformTimeDist.cc.


Member Function Documentation

Time UniformTimeDist::operator() ( const Time t  )  [virtual]

Functional operator.

Parameters:
t The last time generated in the distribution
Returns:
the next time in the distribution

Implements TimeDistribution.

Definition at line 39 of file UniformTimeDist.cc.


The documentation for this class was generated from the following files:
Generated on Mon Mar 24 11:15:48 2008 for Pydtn Simulator by  doxygen 1.5.4