PythonBundleMaker Class Reference
[pydtn]

Bundle maker for traffic generation that uses a python function. More...

#include <pydtn/PythonBundleMaker.h>

Inheritance diagram for PythonBundleMaker:

Inheritance graph
[legend]
Collaboration diagram for PythonBundleMaker:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 PythonBundleMaker ()
 Constructor.
virtual ~PythonBundleMaker ()
 Virtual destructor.
void generate ()
 Generate a Bundle.
void setFunc (PyObject *f)
 Set the internal python function object.


Detailed Description

Bundle maker for traffic generation that uses a python function.

Definition at line 41 of file PythonBundleMaker.h.


Member Function Documentation

void PythonBundleMaker::setFunc ( PyObject *  f  ) 

Set the internal python function object.

Parameters:
f A python handle to the function

Definition at line 67 of file PythonBundleMaker.cc.

Referenced by TrafficGenerator::configure().


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