INET Framework for OMNeT++/OMNEST
TG::PktRec Class Reference

#include <TrafGen.h>

List of all members.

Public Member Functions

 PktRec (double t, int l)
double getTime ()
int getLength ()

Private Attributes

double time
int length

Detailed Description

Definition at line 33 of file TrafGen.h.


Constructor & Destructor Documentation

TG::PktRec::PktRec ( double  t,
int  l 
) [inline]

Definition at line 40 of file TrafGen.h.

{time = t; length = l;}

Member Function Documentation

int TG::PktRec::getLength ( ) [inline]

Definition at line 42 of file TrafGen.h.

{return length;}
double TG::PktRec::getTime ( ) [inline]

Definition at line 41 of file TrafGen.h.

{return time;}

Member Data Documentation

int TG::PktRec::length [private]

Definition at line 37 of file TrafGen.h.

Referenced by getLength(), and PktRec().

double TG::PktRec::time [private]

Definition at line 36 of file TrafGen.h.

Referenced by getTime(), and PktRec().


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