#include <pydtn/PythonTimeDistribution.h>


Public Member Functions | |
| PythonTimeDistribution () | |
| Constructor. | |
| virtual | ~PythonTimeDistribution () |
| Virtual destructor. | |
| Time | operator() (const Time &t) |
| Functional operator. | |
| void | setFunc (PyObject *f) |
| Set the internal python function object. | |
Definition at line 45 of file PythonTimeDistribution.h.
Functional operator.
| t | The last time generated in the distribution |
Implements TimeDistribution.
Definition at line 52 of file PythonTimeDistribution.cc.
References Time::tv.
| void PythonTimeDistribution::setFunc | ( | PyObject * | f | ) |
Set the internal python function object.
| f | A python handle to the function |
Definition at line 136 of file PythonTimeDistribution.cc.
Referenced by TrafficGenerator::configure().
1.5.4