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

#include <TrafGen.h>

List of all members.

Public Member Functions

 SntFlowRecord ()
std::string getId ()
void setId (std::string n_id)
double getStartTime ()
void setStartTime (double n_startTime)
void addTotalSentPkts ()
void addTotalBytes (long bytes)
long getTotalSentPkts ()
long getTotalBytes ()

Private Attributes

std::string id
double startTime
long totalSentPkts
long totalBytes

Detailed Description

Definition at line 98 of file TrafGen.h.


Constructor & Destructor Documentation

Definition at line 107 of file TrafGen.h.


Member Function Documentation

void TG::SntFlowRecord::addTotalBytes ( long  bytes) [inline]

Definition at line 116 of file TrafGen.h.

{totalBytes += bytes;}

Definition at line 115 of file TrafGen.h.

std::string TG::SntFlowRecord::getId ( ) [inline]

Definition at line 109 of file TrafGen.h.

Referenced by TG::operator<<().

{return id;}
double TG::SntFlowRecord::getStartTime ( ) [inline]

Definition at line 111 of file TrafGen.h.

Referenced by TG::operator<<().

{return startTime;}

Definition at line 118 of file TrafGen.h.

Referenced by TG::operator<<().

{return totalBytes;}

Definition at line 117 of file TrafGen.h.

Referenced by TG::operator<<().

{return totalSentPkts;}
void TG::SntFlowRecord::setId ( std::string  n_id) [inline]

Definition at line 110 of file TrafGen.h.

Referenced by TrafGen::initStats().

{id = n_id;}
void TG::SntFlowRecord::setStartTime ( double  n_startTime) [inline]

Definition at line 112 of file TrafGen.h.

Referenced by TrafGen::initStats().

{startTime = n_startTime;}

Member Data Documentation

std::string TG::SntFlowRecord::id [private]

Definition at line 101 of file TrafGen.h.

Referenced by getId().

double TG::SntFlowRecord::startTime [private]

Definition at line 102 of file TrafGen.h.

Referenced by getStartTime(), and setStartTime().

Definition at line 104 of file TrafGen.h.

Referenced by addTotalBytes(), getTotalBytes(), and SntFlowRecord().

Definition at line 103 of file TrafGen.h.

Referenced by addTotalSentPkts(), getTotalSentPkts(), and SntFlowRecord().


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