RINASim  October 2016
Documentation of framework for OMNeT++
AEVoice::Stream Class Reference

#include <AEVoice.h>

Public Member Functions

 Stream ()
 
void setWt (double)
 
void setBrt (double)
 
void setAvgSTime (double)
 
void setAvgWTime (double)
 
void setVarSTime (double)
 
void setVarWTime (double)
 
void setRNG (RNG_function)
 
void setState (bool)
 
int getid ()
 
double nexSendT ()
 
double nexWaitT ()
 
double getWt ()
 
int getDataSize ()
 
bool getState ()
 
void compute ()
 

Private Attributes

int id
 
bool state
 
double wt
 
double brt
 
int packetSize
 
double minSTime
 
double maxSTime
 
double minWTime
 
double maxWTime
 
double avgSTime
 
double avgWTime
 
double varSTime
 
double varWTime
 
RNG_function rng
 

Static Private Attributes

static int nextId = 0
 

Detailed Description

Definition at line 28 of file AEVoice.h.

Constructor & Destructor Documentation

AEVoice::Stream::Stream ( )

Definition at line 24 of file AEVoice.cc.

Member Function Documentation

void AEVoice::Stream::compute ( )

Definition at line 71 of file AEVoice.cc.

Referenced by AEVoice::AEVoice::doIni().

int AEVoice::Stream::getDataSize ( )

Definition at line 92 of file AEVoice.cc.

Referenced by AEVoice::AEVoice::processMsg().

int AEVoice::Stream::getid ( )

Definition at line 67 of file AEVoice.cc.

bool AEVoice::Stream::getState ( )

Definition at line 96 of file AEVoice.cc.

Referenced by AEVoice::AEVoice::processMsg().

double AEVoice::Stream::getWt ( )

Definition at line 88 of file AEVoice.cc.

Referenced by AEVoice::AEVoice::processMsg().

double AEVoice::Stream::nexSendT ( )

Definition at line 79 of file AEVoice.cc.

double AEVoice::Stream::nexWaitT ( )

Definition at line 83 of file AEVoice.cc.

Referenced by AEVoice::AEVoice::processMsg().

void AEVoice::Stream::setAvgSTime ( double  val)

Definition at line 43 of file AEVoice.cc.

Referenced by AEVoice::AEVoice::doIni().

void AEVoice::Stream::setAvgWTime ( double  val)

Definition at line 47 of file AEVoice.cc.

void AEVoice::Stream::setBrt ( double  val)

Definition at line 39 of file AEVoice.cc.

Referenced by AEVoice::AEVoice::doIni().

void AEVoice::Stream::setRNG ( RNG_function  val)

Definition at line 59 of file AEVoice.cc.

Referenced by AEVoice::AEVoice::doIni().

void AEVoice::Stream::setState ( bool  val)

Definition at line 63 of file AEVoice.cc.

Referenced by AEVoice::AEVoice::processMsg().

void AEVoice::Stream::setVarSTime ( double  val)

Definition at line 51 of file AEVoice.cc.

Referenced by AEVoice::AEVoice::doIni().

void AEVoice::Stream::setVarWTime ( double  val)

Definition at line 55 of file AEVoice.cc.

void AEVoice::Stream::setWt ( double  val)

Definition at line 35 of file AEVoice.cc.

Referenced by AEVoice::AEVoice::doIni().

Member Data Documentation

double AEVoice::Stream::avgSTime
private

Definition at line 63 of file AEVoice.h.

Referenced by compute(), setAvgSTime(), and Stream().

double AEVoice::Stream::avgWTime
private

Definition at line 63 of file AEVoice.h.

Referenced by compute(), setAvgWTime(), and Stream().

double AEVoice::Stream::brt
private

Definition at line 56 of file AEVoice.h.

Referenced by compute(), setBrt(), and Stream().

int AEVoice::Stream::id
private

Definition at line 53 of file AEVoice.h.

Referenced by getid().

double AEVoice::Stream::maxSTime
private

Definition at line 60 of file AEVoice.h.

Referenced by compute(), and nexSendT().

double AEVoice::Stream::maxWTime
private

Definition at line 61 of file AEVoice.h.

Referenced by compute(), and nexWaitT().

double AEVoice::Stream::minSTime
private

Definition at line 60 of file AEVoice.h.

Referenced by compute(), and nexSendT().

double AEVoice::Stream::minWTime
private

Definition at line 61 of file AEVoice.h.

Referenced by compute(), and nexWaitT().

int AEVoice::Stream::nextId = 0
staticprivate

Definition at line 52 of file AEVoice.h.

Referenced by Stream().

int AEVoice::Stream::packetSize
private

Definition at line 58 of file AEVoice.h.

Referenced by compute(), and getDataSize().

RNG_function AEVoice::Stream::rng
private

Definition at line 65 of file AEVoice.h.

Referenced by nexSendT(), nexWaitT(), and setRNG().

bool AEVoice::Stream::state
private

Definition at line 54 of file AEVoice.h.

Referenced by getState(), and setState().

double AEVoice::Stream::varSTime
private

Definition at line 64 of file AEVoice.h.

Referenced by compute(), setVarSTime(), and Stream().

double AEVoice::Stream::varWTime
private

Definition at line 64 of file AEVoice.h.

Referenced by setVarWTime(), and Stream().

double AEVoice::Stream::wt
private

Definition at line 56 of file AEVoice.h.

Referenced by compute(), getWt(), setWt(), and Stream().


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